Hi everyone! I am working on a game in which if I drag the picture to the right place, the picture will disappear. If it's dragged to the wrong place, it will just go back. Does Captivate support this? Thanks in advance!
Yes you can do this with a Drag and Drop interaction slide. You need to set the Object Actions that are triggered when each drag object is dropped on its correct target to HIDE the object. There's another option you can select for the overall interaction that has incorrectly dropped objects return to their place.
Many thanks, Rod! Tried this and it worked 🙂
Here is an alternative way without using Object Actions.
Select (each) Drop target, and in the Format tab, Snap Behavior part, to have the dropped object disappear when correct use one of these 3 possibilities:
Another possibility would be to use the InBuilt states for Drag sources and Drop targets, but that may be too much work.
To have the incorrect drag sources return to place, use the Accepted Drag Sources dialog box (with the button Object Actions which you use for Rod's workflow). Uncheck Accept All, set Count to 1 and check the correct answer. By default Go Back will be activated. Here is an example for a situation with 3 drag sources. It has to be done for each of the drop targets.