I want to create a keypad here, and I have converted the correct code into an array. I requested it to be randomized, but it keeps changing. How can I make it only selectable once?
is running every frame. And every time you call ‘random integer’, it will give you a new value. If you want it to stay the same, you need to put it in a variable. Then there’s not much point in printing it on tick, either