Hey there.

Following Scenario:

You have a boolean variable and a very very very heavy pure function that also returns a boolean.

The Boolean is set to false.

Plug the simple boolean into the first AND input and the heavy function into the second Input.

Execute the Graph and you'll notice that the heavy heavy function gets executed.

An Example:

in this case the Last digit of Pi (lel) will always be calculated, even though it does not have to.

I'm no C++ expert, but I'm sure that && won't execute anymore functions if one boolean gets false:

in this example heavyFunction won't execute if lightFunction() returns false.

I'd like to have this in blueprints.

The same can be done with OR. Since it will always progress if at least one is true.

Following Scenario:

You have a boolean variable and a very very very heavy pure function that also returns a boolean.

The Boolean is set to false.

Plug the simple boolean into the first AND input and the heavy function into the second Input.

Execute the Graph and you'll notice that the heavy heavy function gets executed.

An Example:

in this case the Last digit of Pi (lel) will always be calculated, even though it does not have to.

I'm no C++ expert, but I'm sure that && won't execute anymore functions if one boolean gets false:

Code:

if( lightFunction() && heavyFunction())

I'd like to have this in blueprints.

The same can be done with OR. Since it will always progress if at least one is true.

## Comment