Drag & Drop: 1 single object = Correct Jul 19, 2021 By Nicole van Santen 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? Drag_and_Drop.story
Maria Costa-Stienstra Staff over 2 years ago07/19/21 at 3:38 pm (UTC) 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): I am attaching the edited file with those changes, but you will also receive an e-mail soon from our team. edited_Drag_and_Drop.story
Nicole van Santen Author over 2 years ago07/19/21 at 4:42 pm (UTC) 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
Nicole van Santen Author over 2 years ago07/19/21 at 4:51 pm (UTC) 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 Example.png
Maria Costa-Stienstra Staff over 2 years ago07/19/21 at 5:08 pm (UTC) 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: Attached is the file with those changes. edited_Drag_and_Drop.story
Nicole van Santen Author Maria Costa-Stienstra over 2 years ago07/19/21 at 6:02 pm (UTC) 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
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:
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:
Attached is the file with those changes.
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