Any way I can have an object came out from a layer mask
let's say a ball jumps around, the motion happens from the inside of a circle. At the end the ball will came out from the circle (which in this case is the mask). Ive trying to do this but the ball remains inside the mask.
In this case the object goes inside the mask

but i wan to make a motion inside the mask and at the end came out from it

Thanks for your help