I guess there are a few ways to do this. My approach would be to give all switches a bool variable, lets say its set to false as default. Then have logic 'for each switch if player is overlapping switch, set variable to true, else set false'. Then to determine all are overlapped, pick switch where switch.bool=false, if switch.pickedcount = 0 then all are pressed.