Touch event returning wrong position value?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JorensM

I’m making a mobile game, and when I try to use event.position on a touch event, it doesn’t return the correct position?

I made a draw_line() function for debug purposes that draws a line from the joystick to the touch position, but it is showing the wrong position.

Any ideas why this could be happening?

:bust_in_silhouette: Reply From: JorensM

SOLVED

I solved this by using the make_input_local() function on the touch event