Skip to content

HideMouseCursor

Athanatos edited this page Jun 26, 2019 · 1 revision

Hides the mouse arrow.

Behiavour.

Hides the mouse cursor. Takes no parameters. This function does the opposite of what ShowMouseCursor does.

Definition

void DLLEXPORT HideMouseCursor(float* atgs)
{
	ShowCursor(false);
}

Notes

You should use ShowMouseCursor when the script is stopping using:

if(iDeinitializing())
{
   iDLLCall(DllHandle,"ShowMouseCursor",0);
}

Same issue with ShowMouseCursor on playtesting.

Clone this wiki locally