Skip to content
Desktop inputOverview

mouse1click

Represents a primary mouse button click.

Details#

Left desktop mouse button. Emits a press and release with a brief delay. No arguments or return values; the event is delivered at the current cursor position.

Examples#

Example

Luau
if iswindowactive() then
    mouse1click()
end