Greetings, I need some help with the card game I'm trying to make. The player has up to 10 cards in his hand, and they are displayed in such manner that they are slightly overlapping from right to left (think of games such as Hearthstone or Slay the Spire etc). When the player hovers the cursor over a card, it stands out from the rest. Its size is slightly increased, and it is placed on top of the layer so it can be seen clearly. When it's not above the card (else), the size resets back, however I can't figure out how to bring the card back to its original Z-order. Whatever I do, the card just stands out from the rest.
Any ideas?