Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Are you able to post images on what exactly you are trying to accomplish with the mask?

Just note that your image mask needs to be transparent. The black part will be where the image shows, and the transparent part will be where it doesn't.

Posted

Thanks for replying. I'm trying to get a gradient animation to only affect an area in a rectangle, but the animation also moves the mask.. Can the mask be static somehow?

Posted
3 minutes ago, curator said:

Thanks for replying. I'm trying to get a gradient animation to only affect an area in a rectangle, but the animation also moves the mask.. Can the mask be static somehow?

Still unsure of what exactly you are trying to do, so this will be a shot in the dark.

You are trying to animate a gradient, which I assume has a bunch of colors on it. Not sure where a mask fits into this scenario, but could you just separate the gradient onto another element that the mask isn't on?

Posted

Ok, imagine a black box in the middle of screen. I want a white to gradient to pass through only that box, left to right but I'm unsure how to do it and mask it off. It's probably really simple.

Posted

Sorry, I didn't see your reply.

 

Maybe I'm confusing you a bit. Ignore the gradient. Just imagine I have a static image that moves across the screen left to right but I only want it to appear inside that area as it moves through. That's what I thought the mask would do.

Posted
20 minutes ago, curator said:

Sorry, I didn't see your reply.

 

Maybe I'm confusing you a bit. Ignore the gradient. Just imagine I have a static image that moves across the screen left to right but I only want it to appear inside that area as it moves through. That's what I thought the mask would do.

Put both items inside of a container (like a Grid), and turn on "Clip to Region" on the container.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...