Try it in your browserpreview Source

Running CoroutineLuau✎

The thread this code is on.

Pending review

Running Coroutine
  • the language itself, so it works in Roblox and in Lune
  • pure — no execution pins, wire it anywhere
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Outputs

  • result:thread

What it compiles to

luau
print(coroutine.running())

Not reviewed yet