mouse1press
Presses the left mouse button.
Syntax
Signature
mouse1press() -> booleanAliases
This function has no aliases.
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
boolean | Whether the platform accepted the event. |
Notes
Pair it with mouse1release to release the button. The pointer must be inside the active game client area.
Example
Luau
local Result = mouse1press()
print(Result)