Hi,
I am creating a survival game, and in it the player has an inventory with a hot bar. When inspecting the inventory, players can move items from their category slots to the hot bar slots. I have two sprites, both are the same in terms of animations and frames. One is for the actual inventory items, the other is used to display the items that are in the hot bar. I am trying to use these events which compare the instance variable of the hot bar item to the inventory item so that if they are the same, the hot bar item will change its animation and frame to match that of the inventory item but it is not working:
Any tips on how to get this to work?