Character inventory

Hello, I have a sprite from an inventory and I want to know how to get something to be put in the inventory and the next object in the second position, but my question is how to put the objects in the sprite depending on whether I already have a object or not and also with a click you can use it and disappear.

Te recomiendo usar variables, tanto para detectar el objeto, como el tipo de objeto, y la cantidad. No se como explicarte exactamente, por que el como hacerlo depende de como quieras hacer el inventario.