How can I add a Hint (or Hint layer?) to suggest one of the possible correct paths in a drag-and-drop quiz? That would "seed" the interaction and encourage the reader to emulate the hinted action with another drag object.
You could create a "hint layer" and have this set to appear when the timeline reaches a certain spot, or you can make it trigger when they click something in the drag and drop. Attached is a basic file with 2 possible set ups.
Emily, thanks a lot. You are terrific! But what I really had in mind was this set up:
1) There is a permanent button on the basic layer that is labelled "Give me a hint." That's very easy to do of course. But here is the hard part of what I'm trying to do:
2) When the "Give me a hint" button is clicked, I want one of the draggable objects move along a motion path to its intended target (and stay there -- see #3 below for another variation). How can I do that in a layer that is revealed when the hint button is clicked since the new layer would not have any of the draggable objects and targets of the base layer ?
3) A further complication would be for the dragged object to return to its original spot at the end of the "hint sequence" so that everything reverts back to the original arrangement of all draggable objects.
One thing you could do is set up this hint layer with a motion path for one of the items to drag to the correct drop spot, then have it hide at the end of its timeline which would revert back to the base layer, where the items would again be dragable. See attached for reference.
Ahh so simple when a master solves the problem for you isn't it? :-) What I couldn't think of doing was copying the whole base layer as the new layer. I was creating a blank layer instead which of course did not have anything to drag on it -- duh! Many thanks for your support.
Emily, can I change the state of the dragged object (like changing its shape or color) when the object reaches its target at the end of the motion path? I tried to create a certain trigger but it ended up changing the state of the dragged object at the origin point. I want to change it at the destination/target point instead.
Yes, you can change the state when the motion path completes. Use the trigger Change state of X shape to Custom State when Animation Completes, then choose the item, and the motion path:
Emily, I did follow your instructions and created a DragEnds state. But when it comes to assigning this new state to the Trigger, it does not show up in the drop-down list of options. What gives? Please see the screenshots attached. Thank you.
When you press the "Give me a hint!" button, I'd like the D object animate as a BLACK object and turn to RED when it reaches its target. Then I'd like the animation disappear and everything go back to the original state (diagram), with D reverting back to BLACK color as it was in the beginning.
But the way it is, after I press the HINT button, the D object starts as a RED object in the animation and ends up as a RED object when the animation ends.
And I cannot locate the "DragEnds" state for the D object in the trigger drop-down list either.
In the hint caption layer, you had the item set to be in DragEnds as its initial state. I changed this to normal, and now it is working as expected. The DragEnds is showing in the dropdown menu now in the triggers.
Also, i do see you are using the Drop Correct built in state. For this, you do not need to add triggers to make them appear. You can just leave as is.
On the hint layer, if you do not want the Base Layer D item to appear and stay black when the other item moves, you can have that state set to Hidden when the layer shows. And then have it set back to normal when the layer hides. Just an option :)
Emily, thanks a lot. On the hint layer, the Base Layer D item does not appear anyways even though it was not set to Hide (as you kindly suggested as an option). That is, when the Hint Layer D object starts to move towards its target, its place is left empty. How come? Why doesn't the Base Layer D object continue to display as a BLACK object during the animation?
That was an additional trigger I added in case you wanted the item to not appear while the layer was showing and animating.. You can just delete the trigger to have that item Hidden when the Hint layer appears.
17 Replies
Hello Ugur,
You could create a "hint layer" and have this set to appear when the timeline reaches a certain spot, or you can make it trigger when they click something in the drag and drop. Attached is a basic file with 2 possible set ups.
i am sure other will share other ideas as well!
Emily, thanks a lot. You are terrific! But what I really had in mind was this set up:
1) There is a permanent button on the basic layer that is labelled "Give me a hint." That's very easy to do of course. But here is the hard part of what I'm trying to do:
2) When the "Give me a hint" button is clicked, I want one of the draggable objects move along a motion path to its intended target (and stay there -- see #3 below for another variation). How can I do that in a layer that is revealed when the hint button is clicked since the new layer would not have any of the draggable objects and targets of the base layer ?
3) A further complication would be for the dragged object to return to its original spot at the end of the "hint sequence" so that everything reverts back to the original arrangement of all draggable objects.
Many thanks for your kind interest and help. Ugur
Hi Ugar!
One thing you could do is set up this hint layer with a motion path for one of the items to drag to the correct drop spot, then have it hide at the end of its timeline which would revert back to the base layer, where the items would again be dragable. See attached for reference.
Ahh so simple when a master solves the problem for you isn't it? :-) What I couldn't think of doing was copying the whole base layer as the new layer. I was creating a blank layer instead which of course did not have anything to drag on it -- duh! Many thanks for your support.
Always glad to help Ugar!
There is almost always more than one way to set these things up with Storyline, but I am glad this idea will work for you :)
Emily, can I change the state of the dragged object (like changing its shape or color) when the object reaches its target at the end of the motion path? I tried to create a certain trigger but it ended up changing the state of the dragged object at the origin point. I want to change it at the destination/target point instead.
Hello Ugar,
Yes, you can change the state when the motion path completes. Use the trigger Change state of X shape to Custom State when Animation Completes, then choose the item, and the motion path:
Emily, I did follow your instructions and created a DragEnds state. But when it comes to assigning this new state to the Trigger, it does not show up in the drop-down list of options. What gives? Please see the screenshots attached. Thank you.
Hi Ugar,
Do you have the .story file you could share? The custom states should appear in that drop down.
Sure. I appreciate the offer. Here it is :-)
When you press the "Give me a hint!" button, I'd like the D object animate as a BLACK object and turn to RED when it reaches its target. Then I'd like the animation disappear and everything go back to the original state (diagram), with D reverting back to BLACK color as it was in the beginning.
But the way it is, after I press the HINT button, the D object starts as a RED object in the animation and ends up as a RED object when the animation ends.
And I cannot locate the "DragEnds" state for the D object in the trigger drop-down list either.
Any and all help would be appreciated.
Hi Ugar!
In the hint caption layer, you had the item set to be in DragEnds as its initial state. I changed this to normal, and now it is working as expected. The DragEnds is showing in the dropdown menu now in the triggers.
Also, i do see you are using the Drop Correct built in state. For this, you do not need to add triggers to make them appear. You can just leave as is.
On the hint layer, if you do not want the Base Layer D item to appear and stay black when the other item moves, you can have that state set to Hidden when the layer shows. And then have it set back to normal when the layer hides. Just an option :)
Attached is a file.
Emily, thanks a lot. On the hint layer, the Base Layer D item does not appear anyways even though it was not set to Hide (as you kindly suggested as an option). That is, when the Hint Layer D object starts to move towards its target, its place is left empty. How come? Why doesn't the Base Layer D object continue to display as a BLACK object during the animation?
Hi Ugar,
That was an additional trigger I added in case you wanted the item to not appear while the layer was showing and animating.. You can just delete the trigger to have that item Hidden when the Hint layer appears.
Emily, perfect! Everything works the way I wanted to work now. I appreciate your patience and brilliance. Have a great day! Ugur
Glad to hear Ugur!
let us know if you need anything else.
Storyline is addictive I swear :-)
It can be, and you learn something new everyday :)
This discussion is closed. You can start a new discussion or contact Articulate Support.