Godot Version
I’m using Godot 4.2.2 stable
Question
It’s pretty much in the question, I’m currently using:
var batX = bat.position.x var batY = bat.position.y
and it’s not working. How would I fix this?
I’m using Godot 4.2.2 stable
It’s pretty much in the question, I’m currently using:
var batX = bat.position.x var batY = bat.position.y
and it’s not working. How would I fix this?
Like a “get_global_mouse_position()”? This returns a vector in real time
any canvas item can call either the .get_global_mouse_position() or .get_local_mouse_position() to return the absolute or relative mouse position.