I need and inventory!

hey guys im making a terrarria like-game, but i have limited objects and i cant make an inventory in user interface and make an entire set just for that, what do i do?

attachments +messages+switches=yes

that may work, but it cant be in the user interface so i need a way to make it follow the player in the game, any sugestions?(or however you spell it)

I need to remake the advance one later, but here are 2 Inventory examples:


Advance Inventory:

I see you dont want the Items to be in the UI layers, to reduce the amount of objects.
I suggest to grab the Camera Output in put it in “Set” of a Global Variable.

In the Item, use the Global variable and add it to its own position.

can you check what i did wrong? flowlab.io/game/view/1460665

I meant to show a screenshot too, my pc was acting up but I got it working now.
So here are the Screenshots I meant to show earlier:


(The numbers are the position on the Screen)

(Make sure that you can collect it, but it doesn’t push anything else)

Thank you you freakin genius

it doesnt work with multiples because they stack unto eachother, i should have explained this, but

i need multiple of them so that the attaching works

You would need to change the number for 304 for the different items.

So if you have 4 items, the number would change from 208, 240, 272, and 304


oops sorry about caps

Is there a way to do what your doing, but where ever the block was put on the screen?

so if i put 10 blocks next to eachother they wont stack they just stay where they are on the screen

Thats the thing I was talking about I need to remake in the Advance Inventory, where the Item automatically go to the first slot.

Best thing to do is to assign an item for each slot.
If you try to copy the Advance Inventory, the numbers are add 32 between 16 and 304