Create a Function That Accesses an After Effects layer's Blend Mode

David Torno adds to his Free Function Friday series, with a look at accessing layers blending mode in After Effects. The function that he will cover creating this time is called getSelLayBlendMode, which will, as it sounds, return the selected layer’s blend mode. In the end, the script will take the sleeted layers in the timeline and return the values for the blend mode of each.

Dive into accessing a layer’s blending mode.

You can easily glance at a few layers to see what their blend mode is set to, but what if you have hundreds of layers in your After Effects timeline? This is where scripting can help.

David lists off all the possible blend mode settings for an Ae layer in his post and shows how to create the getSelLayBlendMode function. Check out the post for Accessing a Layers Blend mode with ExtendScript for the full article.


Some of the links on lesterbanks are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.