From Garry's Mod
Gets the children of the entity - that is, every entity whose move parent is this entity.
|NOTE||This function returns Entity:SetMoveParent children, NOT Entity:SetParent!|
Entity:SetParent however also calls Entity:SetMoveParent.
This means that some entities in the returned list might have a NULL Entity:GetParent.
A list of movement children entities
Example usage and output
-- ent is a prop_effect entity PrintTable( ent:GetChildren() )
1 = Entity [prop_dynamic]