Optionaldata: AnimationOptionsOptionaleffectsOptionalsaved_StaticallStaticselectedAdds the animation to the current project and to the interface
Optionalundo: booleanIf true, the addition of the animation will be registered as an edit
Calculate the snapping value that the animation should use, based on the time codes of the keyframes that it holds. Directly updates the value, but also returns it as a number (snaps per second)
Compiles the JSON tree of the animation for the Minecraft Bedrock Edition animation format.
Optionaldata: AnimationOptionsReturns (if necessary creates) the animator of a specific outliner node of this animation
Optionalnode: OutlinerNodeOptionaloptions: {}Optionalsave: anyOpens the properties dialog
Optionalremove_from_file: booleanOptionallength: number
⚠️ THIS IS TYPE ONLY ⚠️
It does not exist in Blockbench at Run-time. Use Blockbench.Animation instead.
Blockbench overwrites libdom's Animation type with its own
AnimationClass, but TypeScript doesn't include a way to overwrite UMD global types. To get around this, we changed the name of this class type declaration to_Animationand use that in the type definitions.Deprecated