Vizard 8 » Command Index » Vizard objects » node3d » <node3d:avatar>.getCycleRunning
8.0

<node3d:avatar>.getCycleRunning

Returns if the animation cycle is running

<node3d:avatar>.getCycleRunning(  
animation  
)  
animation
Animation number

Remarks

This command will return whether the specified animation is currently being cycled on the avatar.

Return Value

True/False

Example

avatar.state(2)
if avatar.getCycleRunning(2):
    print('Cycle 2 is running')

See also

<node3d:avatar>.getActionRunning