AnimationTaskIsPlaying Property

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets a value indicating whether the animation represented by this task is currently playing.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: (0.56.1131.11510)

public bool IsPlaying { get; }

Property Value

Type: Boolean
true if the animation is currently playing; otherwise false.

Animations do not play on the tick they were started, so if calling this to check whether an animation has ended, make sure to yield for one tick after calling TaskInvoker.PlayAnimation().
See Also