Open filtergcOpen getfflagOpen getgcOpen getgenvOpen getregOpen getrenvOpen gettenvOpen setfflag

Reference

Environment

The executor's and the game's global tables, the registry, the garbage collector and engine flags.

15 functions
FunctionSummary
filtergcfilter_gcSearches the garbage collector for functions or tables matching a set of conditions.
getallthreadsget_all_threadsLists every live thread in the current game state, including suspended and waiting ones.
getexecutorversionReturns the second value of identifyexecutor, which is the executor's version text.
getfenvReads a function's environment table using the engine's standard getfenv behavior.
getfflagget_fflagReads an engine fast flag.
getfflagtypeReports the kind of value a fast flag holds.
getgcget_gcReturns the collectable values that currently exist in the game's Luau state.
getgenvget_genvReturns the executor's shared global table.
getoriginalenvWith no argument it returns the globals as they were when the executor loaded.
getreggetregistrydebug.getregistryget_reg+1Returns the Luau registry, the table the engine uses to keep values alive on its own behalf.
getrenvget_renvReturns a view that resolves names through the game's global environment.
gettenvget_tenvReturns the globals table a thread runs with.
isuntouchedis_un_touchedReads the environment’s Luau safe-environment flag.
setfflagset_fflagSets an engine fast flag for the current session.
setuntouchedset_un_touchedSets the environment’s Luau safe-environment flag.