Hello, I am trying to make it so that the mouse is always on the player characters position with the command
Input.WarpMousePosition(this.Position) within the _Process method of the player's script.
it is then released on the press of a key.
This works except when using the 2D camera node which causes the mouse to be offset based on where the player is and the size of the screen.
I fixed this issue when making an object follow my mouse by using the GetGlobalMousePosition(); however, I can't find a global option for WarpMousePosition. Is there one? Or another way to accomplish what I'm looking for?