<desc>End of the interval. If end is chosen to be greater than begin then the value increases with movement into positive X direction, otherwise it decreases.</desc>
<desc>The value depends on the movement into X direction. Every pixel moved into positive X direction increases the value a little bit, and each pixel moved into negative X direction decreases it. If end was reached then the value is reset to begin and if begin was reached then the value is reset to end.</desc>
<remark>See the <emlinkhref="definition/animations.html">animation documentation</emlink> for further explanations of the animation system.</remark>
<text>Plays the animation "Drive" in slot 5 and superimposes any other potential animations in slot 5. The animation is played the faster the faster the object moves into X direction. Once the object moved 15 pixels the animation will have been played from begin to end and it restarts from the beginning. Here we use <funclink>Anim_X</funclink> instead of <funclink>Anim_AbsX</funclink> so that the wheels of a vehicle turn backwards when driving backwards.</text>