Search Unity

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?