Forum Discussion

Nicolevan-Sante's avatar
Nicolevan-Sante
Community Member
4 years ago

Drag & Drop: 1 single object = Correct

Hi All,

I made a simple drag and drop question where only one answer is correct.

However, the other three (incorrect) objects don't scale 'in' the drop zone like the correct one does.

Any idea how to solve this?

5 Replies

  • Hi, Nicole.

    Thank you for sharing your .story file.

    I opened a support case on your behalf, so we can check why this is happening. In the meantime, I wanted to offer you a workaround:

    • For each incorrect item, add a trigger to Change state of object to Drop Incorrect when the user drops object on Correct (rectangle):

    Windows 10 (1) 2021-07-19 at 11.17.45 AM

    I am attaching the edited file with those changes, but you will also receive an e-mail soon from our team.

  • Hi Maria,

    thank you for your fast response!

    I'll have a look at your 'workaround'. I did try something with layers, but that wasn't succesfull. So I'm really curious how you did it :)!

    Also looking forward to the respons of your colleagues.

     

    Thanks again!

     

    Kind regards,

                             Nicole

     

  • Hi Maria, it does work, however ther is one 'issue'.

    If I replace the image in the drop zone for another one, the previous picture doesn't scale down to the original size, and returns to it's original place.

    See Printscreen attached.

    Sorry for bothering you again :(.

     

    Kind regards,

     

    Nicole

  • Hi, Nicole.

    Thank you for taking a look at it!

    Since the workaround involves setting the state to drop incorrect, it stays in that state until we tell Storyline to change it back.

    We can add triggers to change the state back to normal when another object replaces the space in the target:

    Windows 10 (1) 2021-07-19 at 1.06.55 PM

    Attached is the file with those changes.

    • Nicolevan-Sante's avatar
      Nicolevan-Sante
      Community Member

      Hi Maria

      Just one word: WOW!

      Thank you so much for telling me how to do this, and even make some modifications to the original file!

       

      You really rock!!

       

      Kind regards,

                                Nicole