Hey
So I'm (trying) doing a system where u have many objects from the same sprite every 15 X it spawn another one.. so at the end it's looks like this:
<img src="http://2.bp.blogspot.com/_ciy4Wim5AoE/S-NZZj2SB4I/AAAAAAAAABs/xxiZ4Bqf_1o/s1600/Clipart_Casino_card_hand_hearts_266.jpg">
now there is the problem.. I'm trying to make when you have the mouse over a object, it comes to front from the other ones and when not over the object, back to his previous order but I have no idea how to make it back to the exact previous order.. Tryed also make the object go to another layer when the mouse is over him and when not, go back to the previous layer, but when it comes back, they changes his order in relation to others.
Any advice or tips?