With this function you can check if the current animation on the given track is set to loop.
skeleton_animation_is_looping(track);
Argument | Type | Description |
---|---|---|
track | Real | The index of the animation track |
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.