How to execute a function after multiple variables have been set. Meaning, the function will not execute until all the variables have been set. I have a 4 question game and i want to be able to say, (question 1, 2 and 4 are correct) so if the user clicks those 3 choices then they will see a congrats animation.
Thank you