Component that acts as an if-statement, taking in a boolean and returning one of two values based on the value of the input boolean.

Inputs

Number Name Object Type Description Optional
1 Bool System.Boolean Input boolean that determines which value is returned. No
2 Value if True System.Object Value to return if the input boolean is true. If lempty, returns an empty output parameter. Yes
3 Value if False System.Object Value to return if the input boolean is false. If lempty, returns an empty output parameter. Yes

Outputs

Number Name Object Type Description
1 Result System.Object The result of the if-gate. If the input value that is returned is left blank, will return an empty output and throw a warning message.

If Gate.png