Download

How can i negate a float if a bool is false?

I want to negate an axis input if a variable is false. If the variable is true, the axis shouldn’t be negated. This is really easy in code but I just can’t find a way to make it happen in blueprints.

Drag off of your boolean and type “Select”. Type a zero on the false line and plug the axis input into the true line.