Clipping Composition Animation?

99 Views Asked by At

I have this problem I have an Control I want to animate by using Composition API offset extension method to animate movement by the distance of its width to the right. So far so good.

But I also want all of it that slides out of its original boundary to be clipped. So it essentially slides right and disappears. How do I accomplish this? I have a vague notion I might need to use InsetClip but I'm not sure how to combine it with the animation...

1

There are 1 best solutions below

0
Homde On

Ok I'm stupid. I can just put a Clip on an outer border and do the animation as usual :P