input.GetMousePos
Get the current mouse position.
Syntax
{x, y} input.GetMousePos()
Parameters
This function has no parameters.
Return value
Returns the x, y coordinates of the mouse on screen.
Example
local X, Y = input.GetMousePos();
Get the current mouse position.
{x, y} input.GetMousePos()
This function has no parameters.
Returns the x, y coordinates of the mouse on screen.
local X, Y = input.GetMousePos();