Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to make UI ignore click

Discussion in 'UGUI & TextMesh Pro' started by nbg_yalta, Dec 7, 2014.

  1. nbg_yalta

    nbg_yalta

    Joined:
    Oct 3, 2012
    Posts:
    378
    I need an Image to be on top of my panel with buttons and I cant click buttons because of it... How can I ignore this image?
     
  2. Sebioff

    Sebioff

    Joined:
    Dec 22, 2013
    Posts:
    218
    Add a CanvasGroup component to your image and disable "Interactable" and "Blocks Raycasts".
     
  3. vexe

    vexe

    Joined:
    May 18, 2013
    Posts:
    644
  4. nbg_yalta

    nbg_yalta

    Joined:
    Oct 3, 2012
    Posts:
    378
    Thanks a lot!
     
  5. bkachmar

    bkachmar

    Joined:
    Mar 15, 2013
    Posts:
    41
    Thanks a lot.
     
  6. kannan21

    kannan21

    Joined:
    Jan 29, 2013
    Posts:
    5
  7. cmz-neu4590

    cmz-neu4590

    Joined:
    Apr 14, 2016
    Posts:
    7
  8. Swift-Games

    Swift-Games

    Joined:
    Nov 7, 2016
    Posts:
    14
    thank you man
     
  9. Taius

    Taius

    Joined:
    Dec 16, 2013
    Posts:
    4
    Still helpful 4 years later! Solved my problem too.

    Thank you!