Forum Discussion
vijeyvijey
2 years agoCommunity Member
Resetting the wrongly drag drop object
I am trying to achieve a drag drop with 2 rectangles. object 1 and 3 are correct. object 2 and 4 are wrong which will go into rectangle 2.
when i place it correctly it is working correctly. When i...
JoanneChen
2 years agoSuper Hero
Hi vijey vijey,
Your triggers conflict with the drag-and-drop option settings (as shown below). You won't need those triggers to change states or open layers if the settings below align with your requirements.
- When the first checkbox is checked, the object will not be dropped onto the wrong rectangle. Consequently, the objects won't change to the state of 'drop incorrect.'
- When the last checkbox is checked, the correct and incorrect layers will show when the user clicks on submit. However, since the objects are only allowed to go to a correct rectangle, users should receive only correct feedback if all the objects are dropped on the correct targets.
If you expect the object to stay in a wrong target and experience an immediate state change, you should uncheck the first and last checkboxes. In this case, you won't need those triggers, which would only conflict with the system.