How does one continuously spin an image?
With my code below this doesn’t work, it would seem to would have to have a counter that keeps incrementing a “rotation angle” variable by 360 each spin. Is there an easier way?
local function spinImage (event) transition.to( resetButton, { rotation = -360, time=2000, onComplete=spinImage} ) end spinImage()