New to godot need help with error

Godot Version

v4.2

Question

I was following a tutorial and encountered an error the crashed the game when I tried to run the project, so I traced my steps back to this part which I can`t seem to recreate https://youtu.be/c7HQwxs5y8w?t=804 .
Screenshots:



Try to use position instead of head.position at line 39.

If it does not work try to share the whole script that makes the code more understandable

1 Like

I see a typo that says head.postion.
Please change it to head.position