Skip to content

Animation

Supported Class Animation & Avatar

References an animation asset which can be loaded by an AnimationController.

1 Nova members · 1 modern Roblox members not implemented yet

Description

An object that references an animation asset (AnimationId) which can be loaded by an AnimationController.

Loading an Animation on Client or Server

In order for AnimationTracks to replicate correctly, it's important to know when they should be loaded on the client or on the server:

  • If an Animator is a descendant of a Humanoid or AnimationController in a player's Player.Character, animations started on that player's client will be replicated to the server and other clients.

  • If the Animator is not a descendant of a player character, its animations must be loaded and started on the server to replicate.

The Animator object must be initially created on the server and replicated to clients for animation replication to work at all. If an Animator is created locally, then AnimationTracks loaded with that Animator will not replicate.

See also Animation Editor and Using Animations to learn how to create and add pre-built or custom animations to your game.

Inheritance

Object → Instance → Animation

Nova inheritance: Instance → Animation

Properties

AnimationId Supported Property Asset ID of the animation an Animation object is referencing.
AnimationId: Content

This property is the asset ID of the animation an Animation object is referencing. Once an animation has been created and uploaded to Roblox, the ID can be copied from the Creator Dashboard.

Note that the animation will need to be loaded onto an AnimationTrack in order to play it.

Roblox reference signature
AnimationId: ContentId

Roblox documentation

Inherited members

Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.

1 modern Roblox member(s) are not implemented yet — expand to inspect

Members declared by Roblox's Animation class (or by a missing base class) that Nova does not expose. Use this list to scope a migration; the compatibility guide has the recommended workaround.

Properties

Member Signature Status Notes Flags
AnimationContent AnimationContent: Content Not yet A reference to the animation asset associated with this Animation. —

Roblox reference: Animation

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.