I haven't made a complete switch to Godot 4 yet, so I have limited experience with the new
Tween object. However, seeing no other input here, I'll take a stab...
With some playing, I was also unable to accomplish your goal with a single tween. On the surface, the combination of
set_parallel() and the
set_delay() you have on the 2nd scale tween seems like a plausible way to get the result you want. However, as you know, it doesn't work. I'm not sure if that's intended or possibly a bug in the new
You're probably aware, but you can get that to work with two tweens. Probably not an ideal solution, but something like this:
var tween1 = get_tree().create_tween()
var tween2 = get_tree().create_tween()
tween1.tween_property($Sprite, "global_position", Vector2(1,1), 1)
tween2.tween_property($Sprite, "scale", Vector2(1.5,1.5), 0.5)
tween2.tween_property($Sprite, "scale", Vector2(1,1), 0.5).set_delay(0.5)
Also, no need to call
tween.play() as it'll do that by default.