Getting multiple drag items to "tile" in storyline
Apr 07, 2015
By
Li-An Brown
I have an interaction where there are multiple drag items with multiple correct drop targets...I used advice from this awesome thread to make it work:
Each drop target is a large hotspot which will have 2-4 drag objects in it when the user is finished. However, because the drop targets are not assigned in the form view but are made manually, I cannot make the drag objects "tile" on the hotspot. They are stacking on top of each other which makes it impossible for the user to see which objects they have put where.
Does anyone know a way around this? I have attached the slide to give an idea of the problem. Thanks!
41 Replies
Hi Li-An,
there are a few things missing in your slide.
1. Goto the form-view and tell storyline which form goes to which hotspot. Storyline does not know yet that you want to put a form onto one of three hotspots... your "correct solution" is still missing. To which hotspot goes which form?
2. Open the menu strip "question Tools". There are "Drag and Drop Options". Set the Drop-Target Options to "tile" and you are done.
By the way: there are 3 unused triggers for your hotspots... you should remove them... ;-)
Thanks for your reply, Jan...however I don't think this will work!
The reason that the form view is incomplete is that each drag item can have multiple correct targets (e.g. any of the "SIRS" boxes can be correctly placed on any of the 3 hotspots) but when you use the default drag and drop options, each item is only allowed one correct drop target.
I have tried setting the drop target options to "tile", but as you have pointed out, this doesn't work when the drop targets are made manually rather then being set under form view.
Do you have any other ideas?! Thanks!
I think there is no solution for your "question type".
Storyline expects a single relation between an object and a hotspot and of course a completed form view... otherwise the question form will not work.
Okay... what about 3 slides? Each slide contains one hotspot.
The lerner will drag all correct objects to that single hotspot and will leave the "wrong" forms where they are.
Another suggestion: what about a diffeent question type?
Thanks for your help Jan, I will have to try some different options I think!
Glad that Jan was able to assist you here Li-An :)
Hi Leslie - as you can see, we didn't manage to find a solution so if you know of a way round the problem I would greatly appreciate it!
Hi Li-An!
Yes, I tend to agree with Jan as I'm not aware of a way to do so.
Hopefully someone will be able to assist you with your design need.
Hi Li-An,
do you need this slide for a quiz or is it only between two slides with some content to keep the lerner's Attention?
If you do not need it for a quiz there is a solution to your problem.
Please let me know.
Hi Jan,
Well I designed it as a quiz but it doesn't need to be! I would be very interested to hear your solution if you aren't too busy!
Hi Li-An,
if you do not need it as a quiz slide, you can do the following to create something you can maybe use.
But: there is some more extra-work to be done.
1. Do NOT use a question form, do NOT use the convert to freeform function!
2. Create a new simple empty slide.
3. Fill the slide with the objects you need, rectangular shapes (for dragging), 3 hotspots for dropping, etc.
4. Remove the 3 triggers of the new 3 hotspots which are created automatically by storyline.
At the "current state" you can not move any object to the hotspots. We will change this now:
5. Create a new trigger for the first shape you want to drag & drop:
Action: Change state of
On Object: Rectangle 1 (a shape you want to drag and drop)
To State: Normal (there is no change in this object because it is alreade "normal" but we need this trigger)
When: Object dropped on
Object: Rectangle 1 (the object you want to drag and drop)
Dropped on: Hotspot 1, Hotspot 2, Hotspot 3
At this point you can move the first shape (rectangle 1) anywhere you want on your slide :-) You could even change the look of this shape if it is placed onto a hotspot :-) , just create a new state, e.g. "dropped".
6. Right-click onto hotspot 1. Select "Drag and Drop"->"Tile" to tile the shapes on the hotspot (yeah!)
7. Goto step 5 and create a trigger for any further shape you want to move. Replace "Rectangle 1" each time in the trigger options with the shape you want to move.
8. Goto step 6 and change the drag & drop otpions to tile for each other hotspot.
9. Right-click onto each dragable shape and select drag & drop -> drag return. This will move a shape to its original place if it is not placed onto a hotspot.
So far with the drag and drop functionality. You can now put various shapes onto one hotspot and the will create a "stack" (because of the tile-option).
Now you have to do the "logic".
You need a variable for each dragable shape which stores the place the lerner has choosen for it.
If "rectangle 1" is dropped onto hotspot 1, set var_rect1=1 (for example). You have already done something like this in your course. Set the initial state of each variable to "0". Hotspot 2 will set it to "2", etc.
Finally: remove the standard "next slide" trigger and replace it by two new triggers.
First trigger: will show a layer "correct answer" if all shapes are placed correct.
Secound trigger: will show a layer "wrong answer" if at least one shape is placed incorrect.
This two triggers are maybe a bit tricky because rectangle 1 can be correct placed onto hotspot 1 OR hotspot 2 OR hotspot 3, same with rectangle 2 and rectangle 3... there is a bunch of conditions to be checked. This conditions are connected with AND and OR... you have to to some very well checking before deploying this course.
There is finally a problem you have to face (and solve):
The lerner can place a shape onto a hotspot. The variable will be set.
After that the lerner will move the shape back to the Initial place outside any hotspot. The variable is still set (same as in your initial solution!). You have to create a trigger which will reset this variable if the shape ist moved outside the hotspots.
Wow, thanks Jan, this is a neat solution. I didn't know you can make anything dragable without having a question/freeform format! I will have to have a go at this tomorrow. As you said, I will have to concentrate hard when making all the triggers and variables. I am so grateful for your help!
Hi Li-An,
I'm glad I could help.
Tell me if yout got around with it or if you encountered any unsolved problems.
Thanks Jan for all your assistance here with Li-An :)
Hi.
Just been searching on this as I have the same problem. I have made lots of freeform drag and drops that tile multiple draggables into the same drop zone, so I don't think what is said above (about one draggable to one drop zone) is right. However I have come across occasions when this doesn't work. I think it's a bug. Once it happens the "tile" option is ignored - it only seems to accept "free". Selecting any other option results in snap to centre and it stacks them on top of each other. The only solution I have is to copy one that does work and repurpose it.
Julian
If you have something that you would like us to take a look at Julian, please do.
Thanks Leslie. I've got examples of freeform drag and drops I have created. One that tiles correctly and one that doesn't. Tile is selected on both, but only one of them tiles, the other snaps to centre.
It would be great if you could have a look and try to identify why this is happening.
Thanks for you help!
Julian
You can look at the second slides.
Hi Julian,
I have tested your "non working file" with SL2 (Update 5).
If I change the target drag and drop setting from "snap to Center" to "tile", it works fine for me.
That's weird. Mine is set to Tile already (not snap to centre) - really! I might try reinstalling Storyline 2 as it sounds like it's specific to me. Weird that when you open it it reads snap to centre.
Thanks.
Julian
Sent from my iPhone
Hi Jan,
Incidentally, I've tried selecting 'stack random' and all the other options and on this interaction it makes no difference. When I publish it always plays as snap to centre. The exception to this is if i make it 'free' which does work, but not what I want.
Thanks for taking a look. Will let you k now if a reinstall works.
Julian
Sent from my iPhone
Hi Julian,
try your file on "preview" first.
Does it work?
If so, it is maybe a problem with your browser. How do you publish? Flash and HTML5 or Flash only? Which browser do you use?
If it works in preview mode but not in published you should send a bug Report to Articulate.
Hi Jan,
It doesn't work on preview or in IE 11.
Sent from my iPhone
Also, same result when Irun Story_html5 or the flash version
Unfortunately, even uninstalling SL2 and downloading the latest version (update 6 - which I was already on) it still fails to recognise any snap to setting - just snaps to centre. Maybe its to do with update 6 as I noticed you are on update 5?
Maybe... unfortunatly I can not test this for you.
I'm still waiting for the update 6 install... I can not do ths on my own.
This discussion is closed. You can start a new discussion or contact Articulate Support.