Skip to main content

Aliases

  • getstateenv

Arguments

thread
required
Luau thread whose environment table is returned.

Returns

table
Environment table for the supplied thread.

Example

Read the environment table stored on a Luau thread.