transition.resumeAll()

Type Function
Library transition.*
Return value none
Revision Release 2022.3683
Keywords easing, animation, transition, tween, interpolation
See also Transitions (guide)

Overview

The transition.resumeAll() function resumes all paused transitions.

Note: Using transition.resumeAll() requires Solar2D 2020.3611 or a newer build.

Syntax

transition.resumeAll()

Examples

-- resume all 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" } )

-- at some point, pause all running transitions
transition.pauseAll()

-- later, resume all paused transitions
transition.resumeAll()