shinkan i will have 4 rows of 10 slots,I would be adding them to the iventory when the player breaks a block a dropped block will spawn for the player to pickup and it will be by overlapping.The same items should stack ontop of each other.You can think of this inventory like Minecraft.I say that because the way minecraft picks items up,You just move overtop an item and it automaticly goes into you inventory.I apoolgize if im not the best at explaining this in detail.If i missed something just let me know.I am making this for Mobile devices if that helps,so everything will be touch.
One main reason why i need to create this inventory is because i cant add or destroy blocks unless they are inside the inventory in the hotbar,I want to make the player dig and collect blocks instead of having them all for them from the begining.