Return state to normal on a Drag & Drop question

Hello,

I am trying to make a freeform which the user need to drag and drop item on a RNA structure. so I validated the drag and drop itens, but didn't linked with a right answer, because I need a multiple Drag and Drop question. So I used the state status to change to drop correct or incorrect. It is ok to do that. But the drag itens are keeping their last status when returning to start point when another drag item is dropped on(I activate the option allow one item on each drop target). so now, I don't know what to do to make them return to normal state eigther.

Someone can help me?? I can provide the .story if you need!!!!

Thanks in advanced,

Sara Faro

50 Replies
Ashley Terwilliger

Hi Sara and welcome to Heroes!

It may help if you're able to share your .story file here as I'm not sure I'm following how you've set this up with multiple drag and drop questions, yet not right answers. Also, are you looking for the entire slide to be reset if the user answers incorrectly or just reset the incorrect answers?

Sara Faro

Hi Ashley,

Thanks in advance for your help. I want to reset just the state of the drag item.

I set the freform question to did not allow two drag itens in the same drop targets, and set the drag itens to change states to "drop correct" (green colored) or "drop incorrect" (red colored) dependly where they were dropped on. But when a drop target already have a drag item on it and I drag another item to overplace that item, they return to inicial place and keep the state "drop correct" or "drop incorrect", and I need them to return to inicial state too. I try change state to inicial when drag item dropped on X, I created a rectangle on the place hte drag item start at the timeline.

I can share my .story, but I don't know how I could do that.

Ashley Terwilliger

Hi Sara,

Are you looking for the states to adjust when dropped or when submitted? You could delay their state change until after it's submitted - and depending on your navigation after that it may not suit your needs. Since the drag item is just being returned to the original starting point, and not by the user, it does trigger the same "drag" action.

You could attach the .story file here using the paper clip icon. Please keep in mind that the forums have around a 20 mb limit for file uploads, so if your file is a bit larger you may want to import out just that one slide and share it here.

Thanks!

Sara Faro

Hi Ashley,

I attached the .story file here, so you can see exactly what i am trying to do. In fact, I did not create a submitt button and neather use the submitt button of the player. As soon as the user placed the letters on the rigth gaps, the layer "Exercício completo" (completed excercise) will show up to them. they don't need to click on any button. Could you see what I did wrong, or how I can fix this problem.

Please, if you think the only way is including a button for submitting so let me know how I do to states hold on until submit interaction.

Thank you so much,

Sara Faro

Yes, Kevin. This is the alternative that I found, and I am using it.

But I think this messed up a little with the graphic of the slide. And turn it kind of ugly.

But I know that is a difficult, to don't say stupid question to ask, because it seems to be impossible to do.

I am still e-learning to work with this software, and just found out that it is kind of hard to understanding the possibilities and the limits.

I attached my .story in english this time. Maybe you will understand wht i am trying to do now.

Thanks,

Sara Faro

Hi Kevin, this help with the returning of the drag itens, but messed up when the user drag the item and return it manually for the start point. I think I will have to choose between one thing or another... so, as I don't want the letters to be colored at the start point any moment, I will disable the option "allows only one item to each target" and let the user put as many itens as he want inside the targets.

hahahaha..

But I thank you all for the help.. I am still trying to solve that problem, and with your help it became less frustrating. LOL

Sara Faro

Hi Kevin,

just for your awareness, I used your idea with the hotspots and created many of them like a background. and every time a user dropped on one of them (or outsite the picture) the nucleotide return to normal state. I kept your solution to returning to start point items either, this is still working and I think I came closest then ever to solve this issue. thank you so much for your help and patience with me.

Jason Johnson

Regarding the original issue, as I've tested this issue several times, there is no way to get the draggable item to return to its "normal" state. Once it goes to "drop correct" or "drop incorrect", it never returns to "normal" even if the item gets moved back to its original starting point (whether by user or automatically). This seems to be a bug to me and has caused me fits. Any insight or is this a bug as I've concluded?

Jason Johnson

I'm using SL2 and this is for Flash. It always stays in either of the last states it has entered, whether "drop correct" or "drop incorrect". Getting it to go back to "normal" never happens--whether you manually drag it back to starting position or the built-in interaction "snaps" it back. You can clearly see that the item has visibly returned to the "normal" state but for triggers, it doesn't recognize it.

Ashley Terwilliger

Hi Jason,

Thanks again for sharing your file. I sent you a reply earlier but also wanted to share it here in the forums. After reviewing your file and setting up a similar behavior on a brand new file, I was able to replicate the issue you are experiencing in regards to the submit button not adjusting it's state to normal based on all the drag items being "not normal" state. I have submitted your case to our Quality Assurance team for their review. As a workaround you can try adjusting the submit buttons state based on the state of the drag items being correct or incorrect which would need to be two triggers, but that worked as expected for me.

I cannot offer a time frame for when or if this issue will be resolved so please continue to take advantage of the workaround if you encounter this issue in the future. 

Jason Johnson

Can you share your "2 trigger" file with me so I can see how you did it? I did start to go down that road but the problem is that the approach doesn't work the same.

In this example, I want to know when 6 items are NOT a certain state. The easiest thing to do is set up the trigger I did but unfortunately it doesn't work--as you've found (thanks!). To go through a "back door" approach like you're proposing, I'd have to find out when these same 6 items ARE 1 of 2 other possible states--we have 3 states; normal, drop incorrect, drop correct.

If I really only care about them leaving the normal state but can't read the normal state accurately, I'd need to know if they are ANY of the possible combinations: 1 = drop incorrect, 2 = drop correct, 3 = drop correct, and so on. You can see that the combinations get pretty complicated quickly and Storyline can't give me what I need with 2 triggers. The 2 triggers I think you're referring to are when all 6 ARE drop correct and another for when all 6 are drop incorrect. However, that is only 2 possible solutions for a combination that produces many, many more. For instance, 3 could be "drop correct" while the other 3 could be "drop incorrect" and that would satisfy my goal. Unfortunately, triggers only let you daisy chain with AND or OR, and not combinations of the two like you would would with programming languages. I wish they would add this functionality and your solution would be almost as straight-forward as my original one.

Thanks!

Ashley Terwilliger

Hi Jason,

I played around with both the correct/incorrect separately, but yes I forgot about and/or conditions - so it would be a bit more than two triggers. I wonder if instead of using the state of the drag objects and the state of the submit button - you adjusted a variable based on the user dropping an element on any of the options, and then show that submit button based on the value of the variable. This is a super basic example and it doesn't account for a user dragging items back to the start but it may get you going!