Setting Comp for After Effects video

Use a composition to control some elements from one place

Create comp and call it [CONTROL ROOM]

Create any element, apply to it any control based on your needs from [Effects & Presets] > [Expression Control]

Color Control: Colors

Slider Control: I use it for opacity

Checkbox Control: ON / OFF


One the element opacity expression use this:

if (comp("CONTROL ROOM").layer("settings").effect("Lang | EN")("Checkbox")==1) { 100 } else { 0 };

For color, Apply [Fill] effect to the element and on the color use this

comp("CONTROL ROOM").layer("gaming-item-box").effect("Fill")("Color")

In the control room comp, show your selections

Add Text element with the following expression

(There is an alternative option here)

x = 0;
y = 0;
z = 0;

if (thisComp.layer("settings").effect("Payment | VISA")("Checkbox")==1) {x= "VISA"} else {x=""};

if (thisComp.layer("settings").effect("Payment | KNET")("Checkbox")==1) {y= "KNET"} else {y=""};

if (thisComp.layer("settings").effect("Payment | Cash")("Checkbox")==1) {z= "Cash"} else {z=""};

thisLayer.sourceText=x+y+z;

Leave a Reply

Your email address will not be published. Required fields are marked *