So I have a drag-and-drop code that works great, but am wondering if I can have a filter of sort for the images. Right now the viewer sees every .png at once, but I'd love to have different filters they can click to view certain categories.
For example, if this was a dress-up game and they want to add pants, they can click on the 'pants' filter and choose one from there, then close it back up.
I just want to make it clean and organized, rather than every single .png popping up at once.
Hope this makes sense! I've shared my current code below.
http://pastie.org/p/4G0wdFm3f9nXfOZyPiKJSs
Thanks so much