Move to, Rotate to Actions

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Abdou23
:warning: Old Version Published before Godot 3 was released.


I just downloaded Godot and I’m trying to figure it out as I go, one thing that I was unable to find is the concept of actions, for example I want my node to move towards a certain position, or rotate to a degree, change its alpha, and the ability to create a sequence of actions executed one after another or simultaneously.
Is there something like that in Godot or an equivalent to it?

:bust_in_silhouette: Reply From: tiernich

try this, they helped me alot in the beginning

tutorial series

:bust_in_silhouette: Reply From: Toger5

I think you need something like an animation system.
You alway can acces almost every parameter via script → get_node().set_param(value) than you can use a for loop to do whatever you need…

But Godot’s animation system is awsome and you should give it a try. Just add an animationplayerNode
Than a toolbar at the bottom will appear: click on the new Icon, and you are ready to go.
There now should be an Key icon next to every parameter in the Editor. just click on it. Go some frames further in the animation bar, change the value and click the same Key again…

Than you can acces the animation with the animationplayenode:
In your scripts:

This system is really powerful because you really can animate anything. colors,positions,opacity,even custom values you exported from your script…

Which makes it possible to animate any property of your own custom objects…