Programming code for a roulette wheel ?

don't know the line of code, to get the light to stop moving through the wheel using a push button, any help please

What have you tried?