Skip to main content
Skip to main content

getChildIndex

getChildIndex

Description

Get child index of given transform relative to its parent. Indices starting at 0

Definition

getChildIndex(entityId objectId)

Arguments

entityIdobjectIdobjectId

Return Values

integerchildIndexchildIndex, -1 if transform has no parent