mouse1press Synchronous
Press and hold the primary mouse button at the current pointer position. Pair it with mouse1release for a drag or another held-button interaction.
Luau
mouse1press() -> ()Parameters
This function takes no arguments.
Returns
()No values.
Usage notes
Move the pointer separately; this call only changes the button state.
Example
Luau
if isrbxactive() then
mouse1press()
mousemoverel(20, 0)
mouse1release()
end