How do I press the buttons in the correct order using a variable?

You can give the buttons numbers, and put those in array. Then checking if the answer is correct, is just a matter of comparing arrays:

348757-screenshot-1.jpg

When they push a button, you can say:

348758-screenshot-2.jpg

The only thing you have to watch out for is putting more than 3 ( or however many buttons you have ) buttons in the array. So, always clear the array before they have an attempt:

348759-screenshot-3.jpg

Hi, I’m new to the blueprint. I’m trying to make a puzzle where you have to press several buttons in order. which function or variable should i use and how?