skeleton_animation_clear(track);
Argument | Description |
---|---|
track | The animation track to clear. |
Returns: N/A
This function will clear the specified animation track of all animations, ready to be re-assigned.
IMPORTANT: Spine integration in GameMaker: Studio is a Pro licence feature and will not work in the Free/Standard versions.
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.