Returns
{Actor} - An array of deleted Actor instances.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getdeletedactors(): {Actor}
{Actor} - An array of deleted Actor instances.
-- Print names of all deleted actors in memory
for _, actor in ipairs(getdeletedactors()) do
print(actor.Name)
end
-- Clear memory references to deleted actors
local deleted = getdeletedactors()
print("Total deleted actors in memory: " .. #deleted)