Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

2D Collision according to body index - UNITY TINY

Discussion in 'Project Tiny' started by Rangerz132, Jun 10, 2021.

  1. Rangerz132

    Rangerz132

    Joined:
    Feb 3, 2019
    Posts:
    38
    Hello everybody,

    I'm currently making a card game.

    At the moment, I'm able to click, drag and drop cards. However when there is a card behind another card, I will always click on the card behind and not the card in front. Is ther a way to fix that?

    Thanks
     
  2. IAVAR

    IAVAR

    Joined:
    Jan 15, 2017
    Posts:
    7
    Use layer order then check when clicked the card