How to clip only on height?

Lets say I have a component BlockA

BlockA: {
  w: 800,
  h: 900,
}

I want to do clipping on that but only on its height (vertical clipping), I dont want to implement the clipping horizontally. Is there any way I can implement like this. Anything like clippingY : true ?