getSpotAnimation

int getSpotAnimation()

Gets the ID representing the current spot animation of the player, or -1 if the player is not performing a spot animation. Spot animations are usually animations done in place when no regular animation is being performed.

Return

The ID of the spot animation being performed or -1 if no animation is being performed.