Skip to main content

LuaFileComponent.FindObjectsOfType(userdata type)

Returns a list of all active loaded objects of Type type.

Parameters:

NameTypeDescription
typeuserdataThe type of object to find.

Returns:

typeDescription
Object[]The array of objects found matching the type specified.

Usage

---@type userdata
local type;


local val0 = LuaFileComponent:FindObjectsOfType(type)