I'm working on a game where an enemy can steal an object from a player, but both the player and enemy can only hold one object at a time. These objects are then pinned to the players/enemies body. The problem is is whenever a player OR enemy picks up a new item, it unpins all previous items they could have picked up, but it ALSO unpins whatever object the other is holding.
Is there a better way to manage who has what pinned to them?