Drag and Drop - Articulate Storyline newbie
Sep 21, 2016
By
Gayle Myers
Hello Articulate community,
I am new to Articulate Storyline and want to create a simple drag and drop game. The items I need to drag and drop are not moving. I was following this tutorial - https://community.articulate.com/series/4/articles/drag-and-drop-questions-in-articulate-storyline-2.
What am I doing wrong? The tutorial did not mention triggers. Do I need to add triggers to the drag items?
I attached screen shots of a storyboard demo of the game.
Thanks for your help.
Gayle
7 Replies
Hi Gayle!
Thanks for providing the screenshots! From the looks of it, it seems to me like you set everything up correctly. Would it be possible for you to attach this slide so I can take a closer look?
Hi Alyssa,
Thanks for your help. Attached is the slide.
Gayle
Thanks for sharing your file - this is a quick fix! The reason your rectangles aren't dragging is because they have a transparent fill. In other words, you can't drag the shape unless the mouse is directly over the edge of the shape. All you need to do is fill the rectangles with white, and that will fix the issue.
I went ahead and made the fix on the attached file. Best of luck to you on the rest of your project!
Wow...that's great. I am so glad I reached out to you. I would have pulled my hair out trying to figure that one out.
I have another question. Instead of using a submit button, I was thinking it would be better if an immediate response would appear when a selection was dragged to a spot. Is it possible to get an immediate response whether it be correct or incorrect when I dragged the rectangles to a spot?
Thanks again for your help.
Gayle
Hi Gayle,
Glad Alyssa was able to help you out with that fix! As for the trigger you're looking to set up, you could include drop correct/incorrect states for your drag items and have those change immediately upon the user dropping them. Here is a tutorial on how to go about adding in new states, and if you use the built in dropped correct/incorrect they'll behave as described here. You'll also want to ensure you've set your drag and drop options to not "delay item drop states until submitted". If you don't want the user to have to click submit at all, one additional trigger of "submit interaction" when the state of items X, Y, and Z are equal to drop correct or drop incorrect should cover you!
Hi Ashley,
Thanks for the tips. I will check out the tutorials and try implement new states as suggested. I will also look into the "additional trigger" for the submit interaction as you suggested.
Thanks again for the assistance.
Gayle
Let us know if you run into any other difficulty Gayle and we'll be happy to help!
This discussion is closed. You can start a new discussion or contact Articulate Support.