For my game, I am trying to spawn an object at random intervals of 2. How would I create random multiples of 2? I know that random(10) produces any number from 1 to 10 but I want it to produce random numbers from 2, 4, 6, 8, 10 only, nothing in-between. Any suggestions appreciated.