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

mouse1press

Dispatches a left mouse button press event.

function mouse1press(): ()

Synopsis

How it works

Sends a left mouse button down event without releasing. Uses SendInput with a single INPUT struct:
INPUT input = {};
input.type = INPUT_MOUSE;
input.mi.dwFlags = MOUSEEVENTF_LEFTDOWN;  // 0x0002
SendInput(1, &input, sizeof(INPUT));
The button remains logically held at the OS level until mouse1release() sends MOUSEEVENTF_LEFTUP. Useful for drag operations: press → move → release.

Usage

Hold fire
mouse1press()
task.wait(1)
mouse1release()