Greetings there!
So i made a layout inventory system, and ofcourse when items drop on the ground, i want to keep them there for when u open and close the inventory, so i gave the item the 'Persist' behaviour. Now, the items have a function 'on create' so the persist does not work properly with this function 'random frame on created', everytime i access the inventory and go back, this function plays again. So i gave the item also ''global'' to keep it from happening, but now whatever layout i go to, the items follows!
Cant get rid of them lol! ^_^
So how do i get rid of items, with both persist and global behaviour?