#InputEvent help
1 messages · Page 1 of 1 (latest)
then do event.global_position if you need it to be global
I also tried global_position, it is still the same. What I want it to do is to still have the green area to be [0, 0], but instead the red area is now [0, 0] because of the Camera2D node.
here's a better representation of what I meant
you can also try get_global_mouse_position() to get the position of the mouse in world space
so instead of var coordinates = event.position, I do var coordinates = get_global_mouse_position()?
yea