Skip to content

Api > GameObject > Find()


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)