Try it in your browserpreview Source

Coroutine StatusLuau✎

One of running, suspended, normal or dead.

Pending review

Coroutine StatusThread
  • 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

Inputs

  • Thread:threadmust be wired

Outputs

  • result:string

What it compiles to

luau
print(coroutine.status(thread))

Not reviewed yet