Scrollview over a panel - Mask issue,Scrollview on a panel (mask issue)

Hello everyone

I have a very noob question, sorry about that.
But I try to have a panel on which I can scroll (with multiple buttons, text items, etc.)

The main problem is that, I have no clue how I am supposed to have the panel “masked” by the scrollview.

I have a background panel, containing the scrollview. And within the scrollview, I have a panel (the content one) on which I would like to scroll vertically (so I set the anchor to a double height). I put this panel as the content of the scrollview. But it always appears on tob of the backgound panel.

What am I doing wrong here ?

Thank you very much,
Raphaël

,

Highlight the panel that has your ScrollRect.

Click Add Component - > Image.

Click Add Component - > Mask.

You don’t need to specify an image, it’ll default to the full rect size but if you want a fancy outline you can. Watch this tutorial if you’re still not sure.