Skip to content

GetChild

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

GetChild

GetChild:Int32 entity:Int32, index:Int32
Parameter Mode Type Default Description
entity In Int32 required Entity handle of the parent.
index In Int32 required Number of the child, 1 up to the number of children.

Returns: The handle of the child.

Description

Reads one of the entities attached to a parent. The index starts at 1, so loop from 1 to CountChildren to visit all of them. Only direct children are listed, not their children.

Related Commands

FindChild, FreeEntity, GetMatElement, GetParent

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally