I'm not super familiar with javascript but I've been working with and fine-tuning this code. This is the best code I've found that's actually given me some results. That being said, now I'm struggling getting more than one object to drag. They both drag on desktop, but only 1 drags on mobile (whatever the most recent object is). So 'image' was dragging fine, but then I added 'image2' and now only image2 is dragging. I'm hoping to have many many objects, so I need to know how to add them and make them move correctly.
Again, not well-versed in this type of code so if you're able to be as detailed as possible that would be awesome. Thanks so much! Code link below