- Home /
 
               Question by 
               FuryFight3r · Mar 16, 2020 at 11:14 AM · 
                uiguigameobjectgrid  
              
 
              Grid Layout Group leaking outside canvas.
Hi all, I was wondering how I can limit the objects within a grid to be hidden if they go outside the panel they are contained in.
Below is how I wish for the UI to look. 
But as more and more objects get added, this is what it turns out like. 
How can I make it so that each new item after the 9 limit become hidden until a space is available, or make it so they hide behind all other UI's?
 
                 
                screenshot-7.png 
                (513.6 kB) 
               
 
              
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by mansoor090 · Mar 16, 2020 at 12:17 PM
Use Rect Mask 2D (component) . It will work fine.
Thank you! Exactly what I needed, I attempted to accept your answer earlier, but was unable to access this site for some reason, Thanks again!
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                