mouse1release Synchronous

Release the primary mouse button. Use it to finish a primary mouse-button hold begun by mouse1press. This is the release portion of an interaction rather than a complete click.

Syntax
Luau
mouse1release() -> ()

Parameters

This function takes no arguments.

Returns

()

This function returns no values.

Example

Example
Luau
-- Position the pointer over a harmless control in your own test UI.
task.wait(3)
if isrbxactive() then
    mouse1press()
    mouse1release()
end
Kawaii documentation