Forum Discussion

HeatherBarlow's avatar
HeatherBarlow
Community Member
3 years ago

Need help adjusting variables

I have a project that I have working but not quite the way I need it to. It is designed to be a quiz type activity for real-life practice. I know I am almost there but need some help with my variables.

Right now if the user enters the whole number values in the boxes from top to bottom, it will display the correct layer as designed. The problem will be with the incorrect answer.

If I was a user and got the correct numbers but in the wrong spot, I don't get anything. So I have to have the numbers completely wrong to get the incorrect layer to show but how do I correct my equation for the right numbers in the wrong order?

  • kBestor's avatar
    kBestor
    Community Member

    I would copy/paste your trigger for the "correct" layer. Set it to open the "Incorrect" layer and change every "and" to "or" and change every "=" to "NOT equal to".  See my attachment for clarity. 

    When I tested it out I was able to get the incorrect layer to open up no matter the order. 

  • HeatherBarlow's avatar
    HeatherBarlow
    Community Member

    Thank you so much! The word "or" was what I missing. I had done something similar but used "and" without getting the results I wanted. I appreciate the help!