Skip to content
Desktop inputOverview

mouse2click

Represents a secondary mouse button click.

Details#

Right 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
    mouse2click()
end