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