0.21.x✎
Conditions take any value, the way Luau does.
Conditions take any value, the way Luau does.
Releases
- 0.21.2Declare Type says when a Type Of is one too many.New2026-09-09
- 0.21.1Name the value a node gives you, without renaming the node.New2026-09-09
- 0.21.0Conditions take any value, the way Luau does.New2026-09-09
Warning
Worth knowing before you upgrade.
- 0.21.1A label on such a node still names the result when no result name is set, so graphs built before this emit exactly what they did.
- 0.21.0A node that returns a value names the local it lands in after the node's Label — labelling a Find First Child
valuegiveslocal value = ...with no second local to rename it. That always worked; the field says so now.
Added
- 0.21.1Result name, on every node that returns a value. It is the local the result lands in — a Find First Child with the result name
valueemitslocal value = ...— and it shows under the node's header the way Declare Type shows the type it declares.
Changed
- 0.21.1A named node keeps its own name on the canvas. Setting the result name leaves the header alone and adds the name beneath it; a label still replaces the header, as it always has.
- 0.21.0Not, And, Or, Branch and While take any value, not just a boolean. Luau has no boolean-only operators:
nilandfalseare false and everything else is true, soif not part thenon anInstance?is ordinary code and could not be built before. - 0.21.0And and Or hand back a value rather than a boolean, which is what they do in Luau:
value or fallbackis the value when there is one. Typing the resultbooleanalso annotated it as one in Strict Mode, which does not compile.
Fixed
- 0.21.2Declare Type with a Type Of wired into it now reports an error instead of emitting
typeof(typeof(x)), which compiles and gives the typestring. - 0.21.0Promote to Variable takes its type from the value sitting in the pin when the pin itself accepts anything, so promoting a Branch condition still gives a boolean.