Garry's Mod Wiki

Revision Difference

Panel:SetWorldClicker#510826

<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 viewmodel will aim etc. 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</realm>⤶ <args>⤶ <arg name="enabled" type="boolean"></arg>⤶ </args>⤶ </function>⤶ ⤶