Drawing.getpointer
Reads the UI context's last pointer position.
Syntax
Signature
Drawing.getpointer() -> Vector2Aliases
This function has no aliases.
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
Vector2 | Last recorded pointer position in client coordinates. |
Example
Luau
print(Drawing.getpointer())