Garry's Mod Wiki

Panel:SetWorldClicker

Panel:SetWorldClicker( boolean enabled )

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.

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

Issue Tracker: 3467

Arguments

1 boolean enabled

Page Links


Special Pages


Wikis

?

Render Time: 35ms

DB GetPage 8
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 12