IsChildOf
7/14/25Less than 1 minute
Transform.IsChildOf(Transform parent)
Is this transform a child of parent?
Parameters:
| Name | Type | Description |
|---|---|---|
| parent | Transform | parent |
Returns:
| type | Description |
|---|---|
| boolean | Is this transform a child of parent? |
Usage
---@type Transform
local transform;
---@type Transform
local parent;
local val0 = transform.IsChildOf(parent)
