After Effects Tutorial: The Checkbox Control (Beginner)

preview_player
Показать описание
Learn how to use the Checkbox Control with if statements.
Рекомендации по теме
Комментарии
Автор

for newer AE versions, remember to put curly brackets around the values like this { 100 }else{ 50 }

safaq
Автор

10 years later, im using AE 2024 and this code still work, not need any change and thank you sir for this life safer tuts

andynaufal
Автор

Hi everyone, help me figure it out! The expression doesn't work for me! Outputs a message!
syntaxerror: Unexpected token else, an exoression was disables as a ersult of an error

goodfellas
Автор

I usually use this trick on a separate comp and call it for instance [CONTROL], from there I can control the colors and other stuff using the same trick
Thanks for sharing

safaq
Автор

Thank you! You've helped me a lot!

anmaresh
Автор

thanks a million
thanks for your time

stevewipix
Автор

Hii, i have a doubt.
I'm making a progress bar along with a timer, and i want it to run according to a checkbox control effect. So the bar and timer would run when the checkbox is on, and stop whenever the checkbox is off. But i don't want the timer to disappear, I want it to stop. Like if i keyframe the checkbox to Off in 1.5s, i want the timer to stop at 1.5s

I've tried this expression:
if(thisComp.layer("Null 1").effect("Checkbox else {}

I just don't know what to put in the "else" statement. Can someone help me?

HONEYLD
Автор

can you use the checkbox control to turn sound on and off?? thank you!

bendude
Автор

stupid question... why does it have to be on an adjusment layer?

CrazyChaosClara
Автор

Question: why is it two ='s? Anyone know?

AIPTutorials
Автор

Thanks :) 
Can use expression for switch effect activity  ??
But i don't know how i can use this attribute in expression syntax

maciekk.
Автор

I am trying to make a rig where you can hide and unhide differnt clothe.
I have to 5 check boxes for different look of the charater, but sometimes he needs the same jacket on some of them. I Have tryed to make this script on the same layer so it can be used on both checkboxes..but when adding the last line, the top script dosent work it keeps being hidden, do you or any one else have a idea how I can make it work?
Cheers. :)

else 0;
else 0;

GillFrank
welcome to shbcf.ru