Meta 帳號現已推出:您可建立 Meta 帳號來登入 VR 裝置。 深入瞭解

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