Garry's Mod Wiki

Garry's Mod Wiki

  gui.EnableScreenClicker( boolean enabled )

Description

Enables the mouse cursor without restricting player movement, like using Sandbox's context menu. See vgui.CursorVisible for a function to see if the cursor is visible or not.

Some CUserCmd functions will return incorrect values when this function is active because the user input is getting overtaken by the vgui system.

Arguments

1 boolean enabled
Whether the cursor should be enabled or not. (true = enable, false = disable)

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...