Skip to content
Astra
ProductDocumentationDownloadPricingCommunity
Sign inGet Astra

Explore Astra

Explore Astra

HomeProductPricingDocumentationDownloadRelease notesSystem status
Sign inDiscord
Roblox
IntroductionQuick start
Keys & licensingYour workspaceTroubleshooting
API reference
Closures
Debug
Environment
Metatables
Scheduler
Instances
Cache
Scripts
Signals
Filesystem
Input
Console
Cryptography
JSON
Regex
System
Scene files
Drawing
UI library
Renderer
Requests
Network
API reference

Environment

Access executor globals, the runtime and collectable objects.

Available functions

filtergcFinds live objects matching a set of filters.getexecutorthreadAccesses the executor thread.getfenvAccesses a function or thread environment.getgcLists live garbage-collected objects.getgenvAccesses the executor global environment.getregReturns the current VM's registry table.getrenvAccesses the associated host environment.getthreadidentityReads the compatibility identity value.isavailableChecks whether an executor global exists.newproxyCreates a proxy userdata.setfenvChanges a function or thread environment.
Previousdebug.setupvalueDebugNextfiltergcEnvironment

On this page

Available functions
Astra

A complete Luau workspace.
Your editor, scripts, and accounts in one place.

Get Astra

WindowsmacOSFree keyPricingRedeemDashboard

Product

EditorScript HubAccountsFeaturesComparison

Community

DiscordSystem statusSupport

Learn

DocumentationRelease notes

Developers

API referenceLuau LSPBenchmarks

Legal

TermsPrivacyCookiesRefund policy
System statusSupportTermsPrivacyCookies

© 2026 Astra. All rights reserved.