VINDICTA
Input · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

mouse2press

Dispatches a right mouse button press event.

function mouse2press(): ()

Synopsis

How it works

Sends a right mouse button down event via MOUSEEVENTF_RIGHTDOWN (0x0008). The button stays held until mouse2release() is called. Commonly used to lock camera rotation in Roblox — holding right-click enables freelook.

Usage

Hold right
mouse2press()
task.wait(0.5)
mouse2release()