canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Get LocalLuau✎

Reads a Declare Local's value wherever it is in scope, without a wire back to it. Pure, like Get Variable.

Pending review

Get Local
  • the language itself, so it works in Roblox and in Lune
  • pure — no execution pins, wire it anywhere

Outputs

  • value:any

What it compiles to

Script StartDeclare Local (greeting)LocalgreetingNameHelloValuegreetingPrintValue
The graph this output was compiled from.
luau
local greeting = "Hello"
print(greeting)

Not reviewed yet