Hello have one problem in this code segment:
local paintImage = {
type = "image",
filename = "assets/jupiter.png",
}
local planet = display.newCircle(planetGroup, _S.CX, _S.CY, 50 )
planet.fill = paintImage
planet.fill.x = 0
planet.fill.y = 0
transition.to( planet.fill.effect, { delay = 5000, x = 1 } )
i want to change planet.fill.x value in transition.to but noting works. why? when i try to set planet.fill.x manually it is ok.