Garry's Mod Wiki

DEntityProperties:SetEntity

  DEntityProperties:SetEntity( Entity ent )

Description

Sets the entity to be edited by this panel. The entity must support the Editable Entities system or nothing will happen.

Arguments

1 Entity ent
The entity to edit