Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Chevi |
I have a player that moves where the mouse is clicked (code below) but when I click a line edit it registers it as a click and the player moves there, how can I fix this?
code:
if Input.is_action_just_pressed("MoveTo"):
global_position = get_global_mouse_position()