mouse1press Synchronous
Press and hold the primary mouse button. Use it to begin a held primary mouse-button interaction. Pair it with mouse1release so the button is not left held.
Luau
mouse1press() -> ()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
mouse1press()
mouse1release()
end