Channel: ECAbrams
Category: Education
Tags: how toslidercodelinevfxgraphicsafter effects tutorialtipshowfxtutlienarelsemotion graphics tutorialaftertutorialifexpressionlinearmotionadobe after effectsafter effectsadobetrickscontrolthenmotion graphicsmenuhelpeffectsif elsevisual effectsinstructionvfx tutorialtofuimograph
Description: The first 1000 people who click the link will get 2 free months of Skillshare Premium: skl.sh/ecabrams13 Use a couple of expressions to select and highlight layers based on a slider control. We are going to talk a lot about expressions so hold on. We take it slow and examine every part of the expression to break it down so your expressions don't break when you write them. Here is a simplified version of the expression you may want to modify to make work for you. ***youtube DOES NOT allow great than or less than symbols so you'll need to change that in the calculations***: // variables // var select = thisComp.layer("Null 1").effect("Select")("Slider"); var padding = thisComp.layer("Null 1").effect("padding")("Slider"); var id = thisLayer.index; //calculations// if (select [GREATER THAN] id) {x=ease(select,id,id+padding,360,value);} else {x=ease(select,id-padding,id,value,360);} //outputs// [x,x] If you have any questions just let me know in the comments. Download this project file: gum.co/LinearFUISliderCtrl Connect on the Internets EvanAbrams.com Twitter.com/ecabrams Facebook.com/EvanCAbrams Instagram.com/ECAbrams Suggest a tutorial topic: docs.google.com/forms/d/13A2eHcNQADsjyPWrrlbFTeOMqPAbqAxq07p7Alroh_w/viewform