Skip to content

format

typescript
Input.mousePosition

class: Input

description

(Read Only) The position of the mouse pointer on the screen.

parameter

param_nametypedescription

return

typedescription
Vector2The position of the mouse.

code example