buster808 Posted March 26, 2021 Share Posted March 26, 2021 Hi, first time here, and thanks for any help. I'm trying to animate the #shutter so it stays in the #Clip-Frame. Ive tried a variation of clip and mask but cant get this to work. Is this even possible? See the Pen PoWNGyx by buster808 (@buster808) on CodePen Link to comment Share on other sites More sharing options...
PointC Posted March 26, 2021 Share Posted March 26, 2021 Hi @buster808 Welcome to the forum and thanks for joining Club GreenSock. The trick here is to use a clip-path in your defs. Then wrap a group around the shutter group. The parent group then uses the clip-path from the defs. Here's a fork with those changes. See the Pen f35d9c532f59277799d2b9e159ee3015 by PointC (@PointC) on CodePen Hopefully that helps. Happy tweening and welcome aboard. 4 Link to comment Share on other sites More sharing options...
Solution buster808 Posted March 29, 2021 Author Solution Share Posted March 29, 2021 Thanks PointC excellent, I'll make sure to ask for help quicker next time. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now