Forum Discussion
Drag and Drop interaction not triggering by a click
I have created a drag and drop interaction. The user must drag 3 different sentences in to the correct box. The trigger states that when an object is dropped on the box, change the state. Then the audio is triggered when the state of all 3 sentences are visited state. The problem is the user can just click each sentence without actually dragging them into the boxes and the audio will play and the slide will progress. How do I make it so the user cannot just click the sentences but actually have to drag them into the box?
- AllenWay-bfd6a2Community Member
Hey Markee,
I just saw your post. In case you didn't figure out a solution, did you already try a trigger to change the state when the user drops the object on the correct box?
--Allen
.
- WaltHamiltonSuper Hero
For whoever is interested: Don't give the objects a Visited State; clicking on them puts them into the Visited state. Change them to a custom state when dropped, and play the audio when when they are all in the custom state.
- MarkeeGueldenzoCommunity Member
This was exactly the fix! Thank you