Hi everyone, I am making an interaction for children. There are going to be 10 cookie jars each labeled with a number from 1-10 and the number specifies how many cookies can be placed in the jar. I have placed a trigger to drop each cookie in any of the jars but I don't know how to limit the number of cookies in one single jar, they all can be placed in one single jar as of now. Is there a way to restrict the number of objects dropped on hotspot???
I love this idea! We don't currently have a setting to limit the number of items dropped on a hotspot, but I'm sure someone in our community has found a workaround to achieve something similar!
I'll hand it over to them to share their expertise!
Create a filled, transparent object placed over the jar, with an initial state of hidden. Count the cookies as they are dropped. When you reach the maximum, change the state of the invisible shape to normal. It will refuse to accept cookies.
I'm working on a project with similar behavior. Once the drop box is full with 8 drag items, trying your method somehow it's not working for me. Unfortunately the user can keep on dragging items nonstop, overflowing the dropbox. I've attached a sample. Please help.
Not sure why this is acting this way. I created a new project, and it acted the same way, so it is probably a new feature introduced in one of the latest upgrades. I would submit a support case, if it were mine.
While you are waiting on that, see the attached sample for a way you might make it work. I changed the drop target to a shape instead of a hotspot, because I needed to change its state, and hotspots don't have states. (just one of the many ways hotspots aren't as flexible as shapes.) I gave the shape named Drop Zone Border a fill, and used it as a target. Then after eight objects are dropped on it, I changed it to Hidden state, instead of covering it. That didn't work until I edited it, created a new state by copying Normal, and named it Hidden. Then I added a text box to the Hidden state. When that worked, I moved the text box off the slide, and deleted the shape designed to cover the target. You can't drop more objects on it, but if you drop one exactly on a shape there, it will replace it. This even though the target is gone!!!
You can also make it work by giving the target a line motion path, and moving it off the slide after eight objects are dropped.
5 Replies
Hi Kaye!
I love this idea! We don't currently have a setting to limit the number of items dropped on a hotspot, but I'm sure someone in our community has found a workaround to achieve something similar!
I'll hand it over to them to share their expertise!
Create a filled, transparent object placed over the jar, with an initial state of hidden. Count the cookies as they are dropped. When you reach the maximum, change the state of the invisible shape to normal. It will refuse to accept cookies.
Hi Walt or anyone,
I'm working on a project with similar behavior. Once the drop box is full with 8 drag items, trying your method somehow it's not working for me. Unfortunately the user can keep on dragging items nonstop, overflowing the dropbox. I've attached a sample. Please help.
thanks, Rob
Not sure why this is acting this way. I created a new project, and it acted the same way, so it is probably a new feature introduced in one of the latest upgrades. I would submit a support case, if it were mine.
While you are waiting on that, see the attached sample for a way you might make it work. I changed the drop target to a shape instead of a hotspot, because I needed to change its state, and hotspots don't have states. (just one of the many ways hotspots aren't as flexible as shapes.) I gave the shape named Drop Zone Border a fill, and used it as a target. Then after eight objects are dropped on it, I changed it to Hidden state, instead of covering it. That didn't work until I edited it, created a new state by copying Normal, and named it Hidden. Then I added a text box to the Hidden state. When that worked, I moved the text box off the slide, and deleted the shape designed to cover the target. You can't drop more objects on it, but if you drop one exactly on a shape there, it will replace it. This even though the target is gone!!!
You can also make it work by giving the target a line motion path, and moving it off the slide after eight objects are dropped.
In my opinion, definitely a bug.
Thank you for help!
Though, now i noticed, i can't swap out any drag items upon Try Again. lol, never ending issues.
Rob