Find
7/14/25Less than 1 minute
GameObject.Find(string name)
Finds a GameObject by name and returns it.
Parameters:
| Name | Type | Description |
|---|---|---|
| name | string | name of gameObject to find |
Returns:
| type | Description |
|---|---|
| GameObject | gameObject |
Usage
---@type string
local name;
local val0 = GameObject:Find(name)
