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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Is it possible to tell when an item is below a mask?

Discussion in 'UGUI & TextMesh Pro' started by coreydpeterson, May 31, 2015.

  1. coreydpeterson

    coreydpeterson

    Joined:
    May 31, 2015
    Posts:
    2
    Hello all,

    I can't seem to find the answer to this problem. I apologize if I missed it. I am currently creating a menu for my game designed to use the keyboard or a controller. I created a scrolling menu with many buttons and used the scroll rect and scroll bars so the player could use the scrollbar scroll through the items. The problem is that when the player presses down and chooses an item that is outside the mask i would like the scroll rect to move upwards so the player can see what has been selected.

    TLDR: Scroll rect problems. player uses key strokes and is able to select objects behind the mask but cannot see them.
    Screen Shot 2015-05-30 at 9.19.37 PM.png
     
  2. coreydpeterson

    coreydpeterson

    Joined:
    May 31, 2015
    Posts:
    2