I really appreciate your time to show me how to create a functional array for inventory use.
No problem! Array is the way!
i got it to stop by only allowing the creation if the inventory slot is not overlapping an inventory item object
That should work if it makes the condition false but be careful since the event is still running constantly. I would add it to the space bar press event myself to create them when inventory is opened and destroy them when inventory is closed, or are you hiding them?
You will likely come across more bugs but if you understand the array all should be fine :) Maybe as practice you could add a description for each item that shows when you mouse over the inventory slots, descriptions stored in the array too!