With this function you can get the current animation set being used by your skeletal animation sprite. The return value is a string, which will be the name of the set as you defined it in your skeletal animation program.IMPORTANT! This function is not available with the Trial Licence of the product.
if skeleton_animation_get() != "jump"
The above code will change the animation set being used to the "jump" set when the space key is pressed, but only if the current set being used is not already "jump".