Get If Statement Result as Variable

For both If Statement and Advanced Conditional, it would be useful to have a Boolean output of whether or not the code was run. The current only way to do this is to create a variable with a value of false and in the if statement change it to true.

You could also do a math block or something that always gives an output then check to see if the output is null for if the if did not run

I can’t get outputs from blocks inside an if though

I think If Statements are meant more to be self contained so unless it’s a local variable there is no real way to get data from inside a statement

Click the variable output from within the block

1 Like