@ILIAM said in Random Button & Radio Buttons?:

David, is this Correct now?

I don't know, if it does what you want then it is...

Buttons[i].setValue(i == random ? 1 : 0);

i == random will either be 1 or 0 already, so no need for the ternary operator here.