@colorsCrimsonTears Great intuition. I’ve put together a project that demonstrates that.
ButtonsInOrder.wick (47.0 KB)
So there are two booleans (variables that are true/false) which are stored in the project. You can see these on frame #1. I store them in the project so they can be accessed anywhere.
project.firstButtonPressed = false;
project.secondPressedAfterFirst = false;
Next, I have a mouseClick event on button1 which sets “firstButtonPressed” to true when the #1 is clicked.
Last, I have a mouseClick event on button2 which only sets “secondPressedAfterFirst” to true if “firstButtonPressed” is already true!
if (project.firstButtonPressed) {
project.secondPressedAfterFirst = true;
gotoAndStop(2);
}
Let me know if you have any questions!