Tween with C#
Hi, I want to use a tween to move the X of a tag.
I want to move the X from -352 to 0, so the title will enter the screen.
I think I'm doing everything right, I just have a problem with the "NodePath Property" argument.
I don't know what I should put there, it's a chain but I don't know which one.
The compilation is successful and the execution also but nothing moves, this does not work:
messageLabel = GetNode<Label>("MessageLabel"); tweenTitleLabel = GetNode<Tween>("MessageLabel/mueveTitulo"); tweenTitleLabel.InterpolateProperty(messageLabel, "RectPosition.x", -352, 0, 1, 0, 0); tweenTitleLabel.Start();
This is the project, the script scene is "HUD":
https://www.dropbox.com/s/p6fce9hca01khmd/dodge the creeps.rar?dl=0