Cutout the excess outside the frame

New to Figma here.
I’m making a gradient effect with this rectangle here. I don’t want the excess of the rectangle to be visible outside the desktop frame. The problem is, I’ve put the rectangle element inside the desktop, but no difference.

1 Like

Hey, thanks!

that did not work for me, what do i do?

Take a close look at the layers panel, and make sure that the objects to be clipped are inside the frame.