Forum Discussion
Need help- how to add different feedback to six drag and drop interactions on one slide.
Need some help. Need to do six different drag and drop interactions, all on one slide, and pick up and move each shape at different times and MUST show different feedback comments when each shape is placed on top of a specified shape. Not sure why I cannot get it to work. For ex., want to show define, duplicate, etc... and place on the shape "Can the student..." on the right of Remembering, then have first comment appear, and move to next drag and drop and show a second comment, etc... Not trying to do triggers or states on this one, only as last resort.
- WaltHamiltonSuper Hero
You have reached the point of last resort. What you describe can be done by using (in order of increasing difficulty) states, triggers, or fairly complex javascript.
The easiest method is to go to Drag & Drop options, and under Feedback set it not to delay drop states. Edit the state of the drag object, and paste on the Drop Correct state the feedback you want seen when correct. Do the same for Drop Incorrect. Be sure for these two states to use the names in the drop down list.
See the attached sample for an idea to get you started.
If the feedback is too elaborate, you may need to hide it when a new drag starts
- JuliOConnell-4aCommunity Member
That makes so much sense. Thank you!!!
- JuliOConnell-4aCommunity Member
Hi Walt, would love to see if you have any suggestion on another issue.
I am stuck on the Drop Correct and how to make it stay on. I'd like it to change colors that I have set in states. For ex., the state for "assemble" Pentagon 24 needs to drop onto pentagon 18 and stay on. I have the "That is correct!" comment animated to move off slide.
I have tried Drag Over as well, but I really want to Drop on and keep it on. I can't figure it out.
Thank you!!! - WaltHamiltonSuper Hero
The problem is the way the Drop Correct state was created. You put the assemble object and the Correct text box where you want them to be when the rectangle is dropped. You can see the problem with that by editing the assemble object. Go to the Drop Correct state, select the red pentagon, and click on Drawing Tools FORMAT on the ribbon. You will see that the X position of the red pentagon is over 600. That means when the assemble object changes to Dropped Correct state, the red pentagon will be 600 pixels to the right of where the original object was dropped. You need to move it so both the X and Y values are 0. Then when the state changes, it will appear where it is dropped.
Also, it appears that you edited the original state, made a Dropped Correct state, copied the original, pasted it and changed its color. The problem with that is that it also copied the entrance animation. So you drop the object, it disappears, and then animates on. While editing the assemble object, I went to Drop Correct state, copied the red pentagon, cut it, exited editing, and pasted it on the base. There I could remove the entrance animation, copy it, edit the assemble state, and paste the red pentagon.
I think you want the text box to appear, pause, then be animated off. That's a little more than a state will handle, so I placed it on a layer.
- JuliOConnell-4aCommunity Member
Thank you!!! Finishing up a deadline. Will check this in the morning.
- JuliOConnell-4aCommunity Member
I was looking at this way too long. It makes total sense now. Thank you!!!
No worries, Juli! So glad to hear that Walt was able to help you! Happy Developing!!✨
- JuliOConnell-4aCommunity Member
Thank you!!!
- WaltHamiltonSuper HeroYou're welcome. PIAWYC (Pass it along when you can).
- JuliOConnell-4aCommunity Member
Gotcha!