skeleton_animation_is_looping

With this function you can check if the current animation on the given track is set to loop.

 

Syntax:

skeleton_animation_is_looping(track);

ArgumentTypeDescription
trackRealThe index of the animation track

Returns:

Boolean

 

Example:

if skeleton_animation_is_looping(0)
{
    show_debug_message("Track 0 of the skeleton animation is looping");
}

The above code will check if the animation on track 0 is set to loop. If that is the case it shows a debug message.