Garry's Mod Wiki


  Panel:SetWorldClicker( boolean enable )


This makes it so that when you're hovering over this panel you can "click" on the world. Your weapon aim (and its viewmodel) will follow the cursor. This is primarily used for the Sandbox context menu.

This function doesn't scale with custom FOV specified by GM:CalcView or WEAPON:TranslateFOV.

Issue Tracker: 3467


1 boolean enable
Whether to enable or disable the feature for this panel.