Try it in your browserpreview Source

Call For ValueLuau✎

Calls a function where a value is wanted — inside a table, an argument, an expression. No execution wire, so use Call Function when the call changes something.

Pending review

Call For ValueFunctionArgument
  • 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

  • Function:functionmust be wired
  • Argument:any= nil

Outputs

  • result:any

What it compiles to

luau
print(fn(nil))

Not reviewed yet