input.mouse_position property
readonly mouse_position: Vector2
Returns current mouse or touch position in this frame.
Note: On mobile, this will always return the last detected touch position.
Returns current mouse or touch position in this frame.
Note: On mobile, this will always return the last detected touch position.