+1 vote

It is really strange, does any one why this happen? Thank you.

Score(Position2d)
- label
- tween

the code does not work, nothing happen but the code

tween.interpolate_property(self, "position:y", -20, -45, 0.8, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)

But this code works, really could not understand why

tween.interpolate_property(label, "rect_position:y", -20, -45, 0.8, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
Godot version v3.2.3
in Engine by (244 points)

Is this script attached to the Label or the Score node?

The score node. It is strange, I could tween other properties like scale without issues, but not the position property.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.