AnimationAPI

A global API used for control of Blockbench Animations

AnimationAPI.getPlaying

Return a table with all playing animations
Takes a boolean parameter,
where if true, animations in the HOLDING play state will be included in the table
overload 1:
animations:getPlaying()
Method Property Fluent Description Representation
Return Value a table
overload 2:
animations:getPlaying(hold)
Method Property Fluent Description Representation
hold accepts a Boolean
Return Value a table

AnimationAPI.getAnimations

Returns a table with all animations
overload 1:
animations:getAnimations()
Method Property Fluent Description Representation
Return Value a table

AnimationAPI.stopAll

Stops all playing (and paused) animations
overload 1:
animations:stopAll()
Method Property Fluent Description Representation
Return Value an AnimationAPI
a a