Godot Version
4.3
Question
I want to use Tween
to handle a menu animation. I have a texture that should be animated to move in a direction (up or down, for example) from its original position, then moved to a position in the opposite direction, and finally animated back to the original position.
Scenario:
- The player clicks on the top button, the grid in the scene will move up 1000 pixels.
- It will disappear from the script since I’m using a Subviewport.
- Then, I’ll place it in the opposite direction (1000 pixels below the original position in the center).
- Finally, it will move 1000 pixels from below until it reaches the center.