Inventory Cell positioning problem(Solved)

I need my inventory cells to allign with the inventory but because I made it so the inventory updates itself to match with the screen resolution I can’t figure out how to make the cells to follow the inventory.
GDevelop_CP8dZiTap1

My events:

(By the way I wanted to add animations to the cells to display objects but I don’t need help with that)

I would really appreciate if somebody could help :blush:

See if this helps: Move only certain instances of an object - #11 by MrMen

It worked thank you!