get_mouse_position when I get cords

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

consider this:

func _process(delta):
	Input.warp_mouse_position(Vector2(100,100))
	var mouse = get_viewport().get_mouse_position()
	print(mouse)

when I look at the print the mouse position will be (0,0) until I actualy move the mouse for the first time.

Why is that like that. The pointer go’s to 100,100 put will not show this in the print and for the system.