#InputEvent help

1 messages · Page 1 of 1 (latest)

manic geode
#

In my code, I have a node that is supposed to use a signal to send the coordinates of a click to a different node, and I usually use print statements to make sure that it is working as intended. I found out that the coordinates it saves is relative to the camera instead of the space itself. Here's the code

shy pike
manic geode
#

here's a better representation of what I meant

shy pike
#

you can also try get_global_mouse_position() to get the position of the mouse in world space

manic geode
shy pike
#

yea