skeleton_animation_clear

Clear the given animation track.

Syntax:

skeleton_animation_clear(track);


Argument Description
track The animation track to clear.


Returns: N/A


Description

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.


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.


Back: Skeletal Animations
Next: skeleton_animation_get_frames
© Copyright YoYo Games Ltd. 2018 All Rights Reserved