Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Run script to stack above current layers

$
0
0

Hi all,

 

I'm using Compcode to create scripts and then tying them to my script panel. When I click a button in my script panel it executes the compcode script and builds all the layers I need. This works great but for some reason it always builds the layers underneath any existing layers.

 

Any idea how I can add a few lines of code to make sure the script is executed on top of my current layers without diving into the compcode script itself?

 

My code is very simple. I have an .onclick that calls the following function (obviously I have some other code shortening the path and how to get the script)

 

function simpleTap(){      loadResource("Templates/Simple Tap.jsx")
}

 

Thanks!


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>