So I'm currently setting up some corrective shape keys on a character rig.
I want a shape key to activate when a leg location is moved up (variable input A), OR, if the chest location is moved down (variable input B). But I don't know how to write this syntax for the expression. Ideally, if variables A and B are active at the same time (leg is up and the chest is down), I'd also want the value to be averaged out instead of added together, because otherwise this would overinflate the shape key.
Hopefully this wording makes sense. I don't really know a lot about shape key drivers yet beyond the very basic 'activate when bone approaches position' so any help is appreciated. :)