This command will return the integer value representing the speed of the animation.

Syntax: 
Return Integer=ANIMATION SPEED(Animation Number)