Skip to main content

LoopModes

These are the loop modes a Blockbench animation can be set to. They can be initialized in Blockbench itself or changed in the code via setLoop(String).

Example:

animations.myModel.myAnimation:setLoop("ONCE")

ModeDescription
LOOPPlays again once it reaches the end of the timeline
ONCENo looping
HOLDStays on the last keyframe of an animation