Garry's Mod Wiki


The widgets library.

Widgets allow the player to have mouse interaction with entities, such as being able to manipulate the bones of an NPC.


widgets.PlayerTick( Player ply, CMoveData mv )
This is used internally - although you're able to use it you probably shouldn't. Automatically called to update all widgets.
widgets.RenderMe( Entity ent )
Renders a widget. Normally you won't need to call this.