How to remove array object when mouse pressed

As a general rule, load all of the assets your sketch is gonna use in setup(), before draw() begins, storing them in global variables. :bulb:

Classes should request already loaded assets rather than loading them on their own. :warning: