+ /* reset animation only for moving elements that change direction of moving
+ (else CEs with property "can move" / "not moving" are reset each frame) */
+#if USE_GFX_RESET_ONLY_WHEN_MOVING
+ if (is_moving && !continues_moving)
+ ResetGfxAnimation(x, y);
+#else
+ if (!continues_moving)