mouse1release Synchronous

Release the primary mouse button. Call it after mouse1press so a drag or hold ends cleanly.

Syntax
Luau
mouse1release() -> ()

Parameters

This function takes no arguments.

Returns

()

No values.

Usage notes

It does not move the pointer or perform a separate click.

Example

Example
Luau
if isrbxactive() then
    mouse1press()
    task.wait(0.1)
    mouse1release()
end
Kawaii documentation