zones/libraries/cl_editor¶
Source: gamemode/modules/zones/libraries/cl_editor.lua
Documented functions: 1
Functions¶
editor:HandleContextBind(pressed)¶
Handles the context menu bind while the editor is active: holding works as before, but a quick tap latches the cursor open until the key is pressed again (spawnmenu-style toggle, open only).
Realm: client
Parameters
| Name | Type | Description |
|---|---|---|
pressed |
boolean |
Whether the bind was pressed (true) or released (false). |