Hello, I need a hand understanding why this code doesn't work. It runs but in the debugger will say "Tween target object has no property named: position."
Yet in all the tutorials and documentation I can find it is printed this way.
void moveTweenValue(Vector2 target){
var moveTween = GetNode<Tween>("moveTween");
moveTween.InterpolateProperty(moveTween,"position",Position,target,2,Tween.TransitionType.Quint,Tween.EaseType.Out);
moveTween.Start();
}
moveTweenValue(new Vector2(100,100));