transition.pauseAll()

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

Overview

The transition.pauseAll() function pauses all running transitions.

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

Syntax

transition.pauseAll()

Examples

-- pause all running 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, pause all running transitions
transition.pauseAll()