Skip to content

Animation nodes

Expression

Gets the total duration of the animation (in seconds).

Also searchable as: “Animation Length”.

Inputs

Name Type Description Default
Entity AnimationEntity

Outputs

Name Type Description Default
Result number

Expression

Gets the current time of the animation (in seconds).

Also searchable as: “Current Animation Time”.

Inputs

Name Type Description Default
Entity AnimationEntity

Outputs

Name Type Description Default
Result number

Statement

Starts playing an animation entity.

Also searchable as: “Start Animation”.

Inputs

Name Type Description Default
Entity AnimationEntity
Loop boolean (optional) true
Play Rate number Sets the playback speed of the animation (1.0 = normal speed). Use negative values to play the animation in reverse. (optional) 1.0
Start Time number Sets the starting time of the animation (in seconds). (optional) 0

Statement

Sets the animation to a specific time (in seconds).

Also searchable as: “Seek Animation”, “Set Animation Time”.

Inputs

Name Type Description Default
Entity AnimationEntity
Time number 0

Statement

Stops an animation entity from playing.

Also searchable as: “Pause Animation”.

Inputs

Name Type Description Default
Entity AnimationEntity