Animator

Animator : Instance

Overview

The core class for playing and synchronizing animations

This instance handles all replication processes for running AnimationTrack instances.

Properties

Methods

LoadAnimation

Loads the specified Animation into the Animator and returns a playable AnimationTrack instance.

If the Animator is included in a model such as a player character, where the local player owns the network ownership, calling this method on the client will also load the animation on the server.

To use LoadAnimation(), the Animator must exist within the Workspace, and the Animator must be created on the server and replicated to the client for animation replication to work. An Animator created locally cannot send loaded animations to other clients.

Parameters

Animation InAnimation

The Animation object to be loaded

Return

AnimationTrack

The returned animation track.

Code Samples

Events

See also

Character Animationchevron-right

Last updated