skeleton_animation_clear

This function will clear the specified animation track of all animations, ready to be re-assigned.

 

Syntax:

skeleton_animation_clear(track);

ArgumentTypeDescription
trackRealThe animation track to clear.

 

Returns:

N/A

 

Example:

if (mouse_check_button(mb_right))
{
    skeleton_animation_clear(1);
}

The above code will clear the animation track 1 if the right mouse button is pressed.