Entity:GetChildren

From Garry's Mod
Jump to: navigation, search
 Entity:GetChildren( )

Contents

Description

Gets the children of the entity - that is, every entity whose parent is this entity.

Returns

table

Children entities

Examples

Example

Example usage and output

-- ent is a prop_effect entity
PrintTable(ent:GetChildren())

Output:

1 = Entity [184][prop_dynamic]
Personal tools
Navigation