Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Expression to change layer color when hit edge of comp

  • Expression to change layer color when hit edge of comp

  • Douglas Sand

    September 20, 2022 at 12:13 am

    Am trying to find an expression that will change the hue of a layer when the layer hits the edge of a comp. Like the DVD screensaver here: https://www.youtube.com/watch?v=5mGuCdlCcNM

    I have a hue/saturation effect on the layer and would like for it to randomly change the colorize hue parameter of the effect.

    Thanks in advance!

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Dan Ebberts

    September 20, 2022 at 12:17 am

    How are you generating the motion? Your expression is going to have to calculate when the logo last hit an edge and use that time as a random seed so that the color will remain the same until the next collision.

Viewing 1 - 2 of 2 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy