Making an expression

Honestly don’t know if this is the right part of this forum for a question like this, so if it isn’t, my apologies. That said, I’m working on a small project right now and wanted to add an expression to a driver I have. Basically, it’s a boolean and I want it to stay false unless two other booleans I have are true, in which case the first boolean can be either true or false. How would I do that?

Just and the 3 Booleans.

E.g. here using 3 custom material properties:

Good luck.

1 Like

Thanks again. It works though I’m now getting the error of “Can’t edit driven number value, see graph editor for the driver setup.” Is there something else I should do for it?

That’s how drivers work - they are driven by expressions. Delete the keyframes on the driven value or delete your driver… If you want to keyframe things keyframe the custom properties instead of the driven value.

Good luck.

Oh, I didn’t even realize I had keyframes there. That did it, thank you!

Guess we’ve all “been there, done that!” :slight_smile: Keyframes are very easy to miss …