New tweens are easy right?
var tween = create_tween()
@onready var pupil = $EyeA/EyeB/Pupil
So weve set up the vars for create tween and the correct path ( I dragged the Pupil node into the var statement, so path IS correct) to the node we want to tween.
func myfunc()
tween.tween_property(pupil, "position", Vector2(18.0, 0.0), 1)
But get error....
Attempt to call function 'tween_property' in base 'null instance' on a null instance.
tween_property() is a part of the built in tween code, so its not something I haven coded yet, and null instance is an incorrect path/cant find node isnt it? - path IS correct....