Can't use position

it’s showing like this.

I can not replicate this, can you check if your script extends the correct node?
It looks like it should be “extends StaticBody2D” or something similar.


Thank you my extends wrong Actually .

You are welcome!

1 Like

correct, it could be extends Node
also that’s Area2D from the icon

1 Like