Forum Discussion
Grouping and dragging objects
Hello,
I took a look at your story file, and I think I've figured out how to get it to work the way that you want. In the second slide, the trigger on the Draggable Object Grouped layer says
"Show layer unassigned When the user drags Draggable rectangle over HS all surface", but it should be "Show layer unassigned When the user drags Group 1 over HS all surface".
Even though you had grouped the rectangle and star together, the trigger was only telling Storyline to drag the rectangle around, not the whole group. Also, when things are grouped together, the "Drag Return" option is checked on the group as well, so you'll have to make sure to uncheck that after grouping.
Also, in case you there are times when you want to have a draggable object, but don't want to have to click to get it to appear, this is how you would set it up:
- Create an additional layer (it will stay empty and have no triggers on it).
- Create your window with objects on the base layer and group everything together.
- With the group selected, right-click and uncheck "Drag Return".
- Create a trigger that Hides Untitled Layer 1 (or whatever you name it), When user drags Group 1 (or whatever you name it) over Hotspot.
There was not any offset when dragged around the screen, and everything moved together. Hopefully this works for you!
Related Content
- 3 years ago
- 3 months ago
- 2 years ago