Transform.Find(string n)
Finds a child by n and returns it.
Parameters:
Name | Type | Description |
---|---|---|
n | string | Name of child to be found. |
Returns:
type | Description |
---|---|
Transform | The returned child transform or null if no child is found. |
Usage
---@type Transform
local transform;
---@type string
local n;
local val0 = transform.Find(n)