Skip to content
Actors & channelsOverview

getactors

Enumerates actor objects.

Details#

Returns an array of Actor instances currently among game descendants. The result is a snapshot; an Actor in the list does not necessarily have an active VM.

Examples#

Example

Luau
for _, actor in ipairs(getactors()) do
    print(actor.Name)
end