actors.find
Finds actors in the current world.
Syntax
ue.actors.find(options?: table) -> ActorDescriptor[]Parameters
| Parameter | Type | Description |
|---|---|---|
options.query | string? | Case-insensitive name, label, class, or path filter. |
options.class | string? | Unreal actor class filter. |
options.limit | integer? | Maximum results. Default: 50. Range: 1–500. |
Returns
| Type | Description |
|---|---|
ActorDescriptor[] | Descriptors with name, label, class, and path. |
Example
local players = ue.actors.find({
query = "Player",
class = "Character",
limit = 50
})