Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Trigger Checkbox at a specified value

  • Trigger Checkbox at a specified value

    Posted by Matt Birkinshaw on February 27, 2015 at 1:59 pm

    I am basically wanting to trigger a checkbox at a specific position value.

    I have a checkbox set to off(0) but I want to link this to the position value and when the position value goes over a certain figure say 1000 in the X I need the checkbox to switch on(1)

    Hope this makes sense

    Its seems easy in my head but I can’t write the code.

    Thanks in advance for any help you can give.

    Arne Münch replied 11 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Arne Münch

    February 27, 2015 at 4:22 pm

    try
    if (transform.position[0]>1000){1}else{0}
    on the checkbox

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