Hi everyone, I have been trying to figure out how to check if only one bool in a bool list is true and if it is true set all other bools to false in the bool list. Is there a way to do this without useing a specific bool? I want to do this for every bool in the bool list

without it turning into this

```
if(BoolList[0] = true){
BoolList[1] = false;
BoolList[2] = false;
BoolList[3] = false;
BoolList[4] = false;
}
if(BoolList[1] = true){
BoolList[0] = false;
BoolList[2] = false;
BoolList[3] = false;
BoolList[4] = false;
}
if(BoolList[2] = true){
BoolList[1] = false;
BoolList[0] = false;
BoolList[3] = false;
BoolList[4] = false;
}
if(BoolList[3] = true){
BoolList[1] = false;
BoolList[2] = false;
BoolList[0] = false;
BoolList[4] = false;
}
if(BoolList[4] = true){
BoolList[1] = false;
BoolList[2] = false;
BoolList[3] = false;
BoolList[0] = false;
}
```