Skip to main content

Animations

A global API used for control of Blockbench Animations


stopAll()

Stops all playing (and paused) animations

stopAll()

Returns

TypeDescription
AnimationAPIReturns self for chaining

Example

animations:stopAll()

getPlaying()

Return a table with all playing animations

getPlaying()

Returns

TypeDescription
TableA list of the currently playing animations

Example

logTable(animations:getPlaying())

getAnimations()

Returns a table with all animations

getAnimations()

Returns

TypeDescription
TableA list of all animations in all models

Example

logTable(animations:getAnimations())