Skip to content
IonizeDocsionize.cc ↗

API Reference

Environment Library

Access to executor, game, and registry environments, plus garbage collector contents.

6 members

getgenv(): table

Returns the shared executor environment.

getrenv(): table

Returns the game environment.

getreg(): table

Returns the Luau registry.

getgc(includeTables: boolean?): { any }

Returns collectable values currently held by the garbage collector.

filtergc(type: string, options: table, returnOne: boolean?): any

Searches garbage collector contents against a filter.

gethui(): Instance

Returns a container for interface elements that game scripts do not enumerate.