Can't set cursor position > event.set_global_position()

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

enter image description here

Inside the brackets, I specified a vector value. The cursor is still moving around the screen. It doesn’t stay in one place.

:bust_in_silhouette: Reply From: Inces

global position of an input is not the same as its visual representation. Use Input.warp_mouse_position or Viewport.warp_mouse