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)