Drag and Drop with Multiple States of objects and Button triggers
Attached is a free form drag and drop activity whereby I want users to drag fruits to the 'fruits hotspot' and vegetables to 'vegetable hotspot', yeah thats easy :) I know that.
I have created two buttons "Fruits" and "Vegetables". The "Fruits button" will show all the fruits and the "Vegetables button" will show all the vegetables.
However, here's the twist, I need the "vegetables" to be hidden when the "fruits button" is clicked with the condition that "vegetables" are not "hidden" if they have been dragged and hide only if they are yet to drag and vice versa for the fruits.
Can some Hero please check and guide.