Garry's Mod Wiki

Revision Difference

Panel:SetWorldClicker#550927

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="enabled" type="boolean"></arg> </args> </function>