ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Checkbox for five different positions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
alex dinnin
Checkbox for five different positions
on May 5, 2020 at 6:47:31 am

Good morning,

I want to create five different positions for a layer and have the ability to assign a check box expression to them.

So if I select the first check box it moves to position 01, the second position 02 etc etc

is this possible.

any help always appreciated

thanks

ALex



Return to posts index

alex dinnin
Re: Checkbox for five different positions
on May 5, 2020 at 8:51:19 am

In the bowels of the Cow I found the solution if anyone stumbled across this.. and adapted the expression to suit

L = thisComp.layer("Box Mover");
if (L.effect("1st Set")("Checkbox") ==1) [414.3381,949.9]
else if (L.effect("2nd Set")("Checkbox") ==1) [489.6381,949.9]
else if (L.effect("3rd Set")("Checkbox") ==1) [489.6381,949.9]
else if (L.effect("4th Set")("Checkbox") ==1) [526.4381,949.9]
else if (L.effect("5th Set")("Checkbox") ==1) [566,949.9]
else [345.6381,949.9];



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]