Clipping

Hi guys,

How do I prevent a Bitmap (or Sprite) from rendering outside it’s parent ? I want the parent to act like a clipping rectangle.

Thanks.