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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Image outside of Mask area can't receive pointer events?

Discussion in 'UGUI & TextMesh Pro' started by michelm, May 20, 2020.

  1. michelm

    michelm

    Joined:
    Jul 2, 2012
    Posts:
    15
    The set up:

    A standard Scroll View, with a standard Button under Content, but positioned outside of the Mask area. The Button's Image component has Maskable off, and Raycast Target on.

    Screenshot_1.png Screenshot_2.png

    The Button (white rect image on the right of first screenshot) does not receive any pointer events. As far as the pointer event system is concerned it's still hidden by the mask.

    Is this behaviour by design, or a bug?