Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimationEvent.animationState

var animationState: AnimationState;
AnimationState animationState;
animationState as AnimationState

Description

The animation state that fired this event (Read Only).

Returns null when the method is called outside of an animation event callback.