I'm making a solitaire style game - there are rows of cards, and in order to get the gameplay to work properly, I need the game to recognize which cards are on the tops of the rows, as only those cards should be removable.
However, I'm not sure how to achieve this...