invalid get index godot instance code example
Example: invalid set index godot
This will usually be because you set the wrong name to a variable
or wrong data type. For example, I got this when I was following a tutorial
and did "onready var sprite: Sprite = get_node("Sprite"), which
was right for the tutorial, but remember to use your own names
if you change them from a tutorial!