Create clipping bounds of sprite component

What I want to do is have a box where any part of a sprite outside of that range is no longer rendered, meaning if a sprite is only 1/4 in the box, then only that 1/4 is rendered.

I want to recreate that effect that Candy Crush has when new candies fall into the board from the top, where it looks like they’re coming out of something. I feel like this should be a simple thing to do, but the workarounds I’ve been having to come up with are ugly, and require an annoying amount of work.

Any ideas?