ID:2373549
 
If it is so much undoable, at least change pixel position instead the loc.

And

Flag: ANIMATION_BACK_TO_INITIAL
Half the time for the main animation and the other half return to the initial state

I want to do a game that use it a lot and is bad put a loop to do that in so many hud objects.
You can use transform to shift HUD objects.
In response to Kaiochao
To change the position? How?
Using matrix.Translate().
In response to Flick
Thanks, but is possible do a reverse animation too or I'll need a infinite loop of 0.1 seconds every time to do that in every object?
In response to Flick
Like this, but is impossible edit every icon.

You can use the "loop" argument in animate() to repeat an animation. You'll want to call animate() twice: once to move it in one direction, and again to move it in the other direction. For example:
animate(hud_object, time = 2, loop = -1, transform = up_transform)
animate(time = 2, transform = down_transform)

Where "up_transform" and "down_transform" are the matrices that position the hud_object appropriately (using Translate). Make sure not to pass hud_object as the first argument to the second animate() call, so that the animation is added to the first instead of replacing.

No actual loop required.
In response to Kaiochao
If the Object argument is left out, a new animation step will be created for the last object that was animated.


Thanks, work here. I'll keep the request, would be great a tag of Return to initial to simplify that.