Type Function Library transition.* Return value none Revision Release 2022.3683 Keywords easing, animation, transition, tween, interpolation See also Transitions (guide)
The transition.cancelAll()
function cancels all running and paused transitions.
Note: Using transition.cancelAll() requires Solar2D 2020.3611
or a newer build.
transition.cancelAll()
-- cancel all running (and paused) transitions local transition1 = transition.to( currentTarget, { time=400, y=y+100, iterations=5, tag="transTag" } ) local transition2 = transition.to( otherTarget, { time=200, y=y-200, tag="transTag" } ) -- later, cancel all running transitions transition.cancelAll()