Goal: I'd like for those colored blocks to appear randomly, one at a time, on screen based on a global variable's value. Each one has a set x and y; so the position doesn't have to be random, just which one shows up.
So for example:
variable = 5 | one block shows up
variable = 10 | another shows up
etc.
I imagine I have to use some check that looks to see "if on screen..." but other than that, I haven't figured it out correctly without having them all show up or none of them showing up. I'm going with "if on screen..." because the blocks can be destroyed and I would like for them to appear again.