I work at a medical company , and there is a tool that has 2 prongs on the end. I need to include the entire image of the tool, but I would like to make it so only the 2 prongs are the correct section of the image for drag/drop.
I duplicated the image and cropped it out so that just the 2 prongs were an image, and then I grouped it together with the full image, hoping that it would allow me to select the smaller image. Unfortunately, the new group with the small image and full image is the only option to select.
Is this possible to do? Does anyone have a suggestion?
Here's an example of what I'm trying to do. Right now, any part of the image can be dropped on the hotspot. I was hoping to make it so the 2 ends of the prong were the only correct area that can be dropped there.
Since the prongs and the rest of the tool need to move as one, I don't think a regular drag and drop interaction would work. Instead, I think the "object intersects" condition in a trigger might do what you need.
If it was me, I'd set up a "pick one" interaction with the correct/incorrect objects/buttons off-screen. They should be in a button set and the default state of the incorrect object should be selected. Then I'd set up the following triggers:
Change state of "correct" to selected when Object Intersects "prongs" with Hotspot.
Change state of "incorrect" to selected when Object stops intersecting "prongs" with Hotspot.
The off-screen objects are used simply for grading and the programmed drag and drop interaction is what actually drives their states.
4 Replies
You could leave the image as is and add two transparent objects over the prongs that act as drop targets.
Here's an example of what I'm trying to do. Right now, any part of the image can be dropped on the hotspot. I was hoping to make it so the 2 ends of the prong were the only correct area that can be dropped there.
Hi David,
Since the prongs and the rest of the tool need to move as one, I don't think a regular drag and drop interaction would work. Instead, I think the "object intersects" condition in a trigger might do what you need.
If it was me, I'd set up a "pick one" interaction with the correct/incorrect objects/buttons off-screen. They should be in a button set and the default state of the incorrect object should be selected. Then I'd set up the following triggers:
The off-screen objects are used simply for grading and the programmed drag and drop interaction is what actually drives their states.
Does that make sense?
Cheers,
Allison
Yes and no. I didn't even know about the objects intersect condition before, but now that you've mentioned it and explained it I can follow along.
I'll definitely give it a try.
Thanks so much!!!
This discussion is closed. You can start a new discussion or contact Articulate Support.