How can I tween position.y and just the y axis?

Godot Version

v4.2.2.stable.arch_linux

Question

I tried this.

tween.tween_property(redDisk, "position.y", 25.335, 0.3)

It there a to do this in Godot?.

You can use a method tweener, see here, but the issue is that the syntax is wrong, you should use “position:y”, see here

1 Like