On Became True
Each time what's plugged in turns from false to true: when the bass is loud, when it's past six….
◆On Became True
Condition
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Conditioncondition | bool | false | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
let q2 = false;// On Became Truescene.every(0, function () { const now = !!(false); const fire = now && !q2; q2 = now; if (!fire) return;});In a graph
◆On Scene Start
◆On Became True
Condition
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.