Forum Discussion

SaraWenger's avatar
SaraWenger
Community Member
2 years ago

Help with Drag&Drop

I need your help! :)

I`ve designed a drag & drop interaction. After both shapes have been correctly assigned, a level with "correct" should be displayed automatically. It should appear automatically after the last assignment. So that no tick has to be pressed to send.

Therefore, I have given both forms a variable. I have set this to correct. Then I created a level that should appear when both variables are set to correct. But unfortunately it does not work.

Does anyone here know what mistake I have made? I have attached my file. Thank you very much!

 

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    One option is to use a True/False variable that is toggled whenever one of the drag objects is dropped. Based on that variable change you can display the Richtig layer, providing the that Simple and Unexpected variables are true. See attached a quick example.

  • SaraWenger's avatar
    SaraWenger
    Community Member

    Hello Michael,


    thank you very much! That works pretty well. I never thought about this option. Thanks again for your support.

    Sara