This command will return the current time factor of the animation.
If the animation is 0, then the speed of the avatars animation cycle will be returned.
If the animation ID is valid and it is currently being executed, then the speed of the animation action will be returned
If the animation ID is invalid or it is not currently being executed, then 0 will be returned
Getting Cycle Speed
avatar.state(2)
avatar.setAnimationSpeed(0,4)
#This will print out '4'
print(avatar.getAnimationSpeed(0))
Getting Action Speed
avatar.execute(6)
avatar.setAnimationSpeed(6,2)
#This will print out '2'
print(avatar.getAnimationSpeed(6))