You need to add a class name to your draggables in order to work on them and you could use data() to assign the band element to each draggable.
Thanks for the fast reply!
Unfortunately I'm very new to Edge Animate and don't fully understand what you mean here - apologies. Initially I thought it could be possible for me to accomplish this through using if variables and the simple 'show' command in the script i.e. if 'Card' is in droppable space, show Band member 1 etc. Is this a bad way to go about it? As I say, really sorry if I'm asking stupid questions but I am completely new to this
Thank you very much for uploading that example, I just took a look and noticed this section:
// set up the droppable to accept each draggables
accept:'.C'+i, // use class for accept
So here if I have understood correctly you are defining each draggable object, (fruit) as class 'C', and each droppable area to accept 'C'?
Going off that, as you mentioned before I should be defining each card as a 'class', and then making sure that the droppable areas accept that specific 'class' - which in turn, when dropped in the area should show each band member? Would this be doable through a simple 'Show' command in that case?
My apologies if I am getting this completely wrong, and I really appreciate your help so far!
Apologies, forgot to mention that my draggables are working. I will attach an image of my code example for one of the cards now:
Hiding all band members on composition ready:
As you can see, at the moment I have the band members to 'Show' when I double click, (just as a test). However I need them to show when there is a 'draggable' in 'droppable' space.