mouse1click

Sends a left mouse click.

Syntax

Signature
mouse1click() -> boolean

Aliases

This function has no aliases.

Parameters

This function takes no parameters.

Returns

TypeDescription
booleanTrue when the platform accepted the events. This does not confirm that gameplay handled them.

Notes

The pointer must be inside the active game client area.

Example

Luau
local Result = mouse1click()
print(Result)