mouse2release Synchronous
Release the secondary mouse button. Use it to finish a secondary mouse-button hold begun by mouse2press. This is the release portion of an interaction rather than a complete click.
Luau
mouse2release() -> ()Parameters
This function takes no arguments.
Returns
()This function returns no values.
Example
Luau
-- Position the pointer over a harmless control in your own test UI.
task.wait(3)
if isrbxactive() then
mouse2press()
mouse2release()
end