I'm trying to make the player press certain buttons in a certain order to do something, but I can't figure out how to make it a specific order in which they need to be pressed. What condition of event could do that?
On key press, append a string in a variable or text object. When the string matches, do action.
You can use right(string,n) to compare only the last n characters entered.
But how would I clear the screen if they get it wrong?
String not screen, sorry.
Develop games in your browser. Powerful, performant & highly capable.
First, you don't have to. Nothing would happen anyway.
Secondly, you can set the variable to nothing, based on whatever condition you want.