We’re introducing Meta accounts in August 2022: a new way to log into VR devices that doesn’t require a Facebook account. Learn more

PAUSE ANIMATION

Pauses an object's animation.

Appearance in Composition Pane
Description

Pause animation holds playback of an object’s animation, this does not reset the animation.
Parameters

object

PREREQUISITE READING

PLAY ANIMATION precedes this tutorial


Example 1: Pause an animation

Imagine if this script was attached to a model train’s remote control. When index trigger is released by a player, the pause animation codeblock pauses a train’s animation.

Next Up