Garry's Mod Wiki

halo.RenderedEntity

  Entity halo.RenderedEntity()

Description

Returns the entity the halo library is currently rendering the halo for.

The main purpose of this function is to be used in ENTITY:Draw in order not to draw certain parts of the entity when the halo is being rendered, so there's no halo around unwanted entity parts, such as lasers, 3D2D displays, etc.

Returns

1 Entity
If set, the currently rendered entity by the halo library.