find_all

Returns loaded instances of an Unreal class.

Syntax

ue.find_all(class_name: string, limit?: integer) -> UObjectProxy[]

Parameters

ParameterTypeDescription
class_namestringUnreal class name. Derived-class instances are included.
limitinteger?Maximum results. Default: 100. Range: 1–1,000.

Returns

TypeDescription
UObjectProxy[]Matching objects, or an empty table.

Example

local widgets = ue.find_all("UserWidget", 100)
for _, widget in ipairs(widgets) do
    print(widget:path())
end

On this page