Forum Discussion
Storyline 360 trouble with drag and drop changing which object is overtop of other objects.
Storyline 360 problem: I have a learning activity with a mechanic like solitaire. The cards all start in a hidden state with each one lower in the timeline than the next card to be drawn. I have a draw pile (as a button) that will show a card by changing its state to normal and advance a card counter variable. If the card can be played the learner drags it and drops in the correct spot. If they drag it to the wrong spot, or if they drag it to the correct spot before it can be played, I use the zero-motion path trick to return it to the face up pile. This works properly if the user does everything correctly.
My problem is that when a card is dragged and dropped on a wrong spot, any subsequent cards drawn appear below the card that was moved.
When it works correctly clicking the draw pile shows the 3 diamond card that cannot be played yet, click the draw pile again and it shows the 3 heart card which also cannot be played, clicking a third time shows the 2 diamond card that can be played.
This is how it fails: Click the draw pile shows the 3 diamond card, drag that card to any drop target shows a wrong layer, then zero distance motion path to put it back to the face up location, that part works. Clicking the draw pile a second time will change the state of the 3 heart card but that card is below the 3 diamond card instead of above it (I made the 3 diamond card larger for troubleshooting).
The really odd thing is that if I move an incorrectly placed card back to the face up pile, subsequent cards will appear properly showing above the moved card. For troubleshooting my 2 diamond card has a motion path with distance so I can drag it back, and it also works with just moving any incorrectly placed card from the face up pile and back to that same place.
I thought it might be a consequence of the zero-distance motion path so I tried adding that to all cards when timeline starts on the card, but that doesn’t fix it, they still show below the incorrectly placed card.
I would really appreciate it if someone could explain why this is occurring and how to fix it. The real project is a serious professional learning activity, I copied the real slide to a new project and changed the names to cards to remove any potentially proprietary information. Thank you.
The support engineer confirmed that this behavior is indeed a bug and they added it to their list of bugs to be worked on. I adapted my activity to use a discard pile of face up cards that can be drawn from which forces the learner to drag every card which then makes that card on top, and the activity works. It isn't the most elegant solution and adds more failure points (they could cheat by dragging a card back to the draw pile starting location), but it works well enough for now.
4 Replies
- IvanBurgessCommunity Member
Thank you very much.
Hi IvanBurgess,
Thanks for reaching out!
I tested your project file and replicated the behavior. I'm fairly certain the behavior is related to how your triggers are set up, so I opened a support case on your behalf to connect you with a support engineer. They'll email you after they've reviewed your project file!
- IvanBurgessCommunity Member
The support engineer confirmed that this behavior is indeed a bug and they added it to their list of bugs to be worked on. I adapted my activity to use a discard pile of face up cards that can be drawn from which forces the learner to drag every card which then makes that card on top, and the activity works. It isn't the most elegant solution and adds more failure points (they could cheat by dragging a card back to the draw pile starting location), but it works well enough for now.
Hi IvanBurgess,
Thanks for sharing details from your case with Ian. It is good to confirm that this behavior is a known bug. I appreciate you sharing what you did to adapt your activity. This all will be helpful to folks who come across this thread in the future!
We'll share any updates on a bug fix in this thread so everyone is in the loop.
Have a great day!