You can check if the xVelocity is between -1 and 1 with two conditions.
Sprite.Physics.velocityX > -1
Sprite.Physics.velocityX < 1
Now there are a lot of conditions that can be used to do this. A basic one is the system->compare condition. And if you want it to work with more than one instance of sprite add a "for each sprite" condition above the two conditions.