Revision Difference
Panel:SetWorldClicker#562841
<function name="SetWorldClicker" parent="Panel" type="classfunc">
<description>
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.
⤶
<bug issue="3467">This function doesn't scale with custom FOV specified by <page>GM:CalcView</page> or <page>WEAPON:TranslateFOV</page>.</bug>⤶
</description>
<realm>Client and Menu</realm>
<args>
<arg name="enable" type="boolean">Whether to enable or disable the feature for this panel.</arg>
</args>
</function>