Forum Discussion
Built in states not working as expected
I am working with 4 states: Normal, Drag Over, Drop Correct, and Drop Incorrect.
The drag over is not working at all.
Both drop correct and drop incorrect work when dropped on the targets, but if they are placed outside a target, drop incorrect shows up instead of staying normal.
I followed the "How to Build Drag-and-Drop Interactions in Storyline 360" tutorial so I am not sure what I have done wrong.
3 Replies
- ThierryEMMANUELCommunity Member
Hello lschivley
I think I have identified several issues in your fichier.story file.
However, as I am not sure what you actually want the final behavior to be, I am unsure what to do.
Do you want the movable answers to remain “normal” until the learner clicks ‘Validate’? In that case, you forgot to uncheck the “Change object state only when interaction is complete” box in the Drag and Drop Options.
"... if they are placed outside a target, the Incorrect drop state is displayed instead of remaining normal.“: this is completely normal since its correct drop zone is one of the three targets, not outside a target (so if it is not ”correct,“ it is ”incorrect").
“The Drag state does not work at all.”: This seems to come from the group. May I suggest a significant simplification? You do not need to use the “Insert a mathematical equation” function since you are not using it for anything else than write it, and group it with a shape. Just use a shape with text inside it, with the states “Normal, Drag, Correct Drop Zone, and Incorrect Drop Zone,” and the “Drag” state will display normally. (Plus, it's easier to see which equation it is.) Take a look at the file.story I've attached in slide 2. Let us know if this solves your problems.- lschivleyCommunity Member
For simple equations, I may be able to type them in without the equation tool, but with more complex equations, that is not possible. I do want feedback before the submit button is pressed. This is being done as a learning activity, and I want immediate feedback for the first few problems.
- ThierryEMMANUELCommunity Member
Hello lschivley
I understand better now. And you are obviously right. You need the equation function to propose much more complicated equations.
I tried taking only the “equation” object and giving it states (by inserting your beige, brown, green with check, and red with cross backgrounds). OK, but the object remains insensitive to its position and does not display its states when it is moved or placed on the correct and incorrect targets (perhaps because it is an SVG (I think)).
So, the only (simple) workaround that works is to use rectangular shapes with the states you have already created and used, AND add the equation to each state. In this case, it is the shape that reacts to drag and drop, and everything works. And you can still modify the equations as needed. Forget about groups.
My other comment still stands: depending on your choice of direct state change, the shape will be an “incorrect drop zone” if it is not dropped on the correct target, regardless of location (internal SL setting). I hope this helps.
Related Content
- 2 months ago
- 4 months ago