mhulse / illy-anim-redux

ExtendScript (.jsx) used to animate Adobe Illustrator’s layers in order to preview sequenced layer frames for animation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need toggle functionality

mhulse opened this issue · comments

Due to how BTM functions, I need to think of a good way to handle animation between the layer before and/or after.

Unfortunately, I can't just select the layers (no active content) and use that selection as my list of layers to loop across:

Select only highlighted layers?

Looks like I'll have to include some sort of selection in palette. Maybe dynamic dropdown that shows layers before/after as numbers (-1, -2, +1, +2, +3).

From there, the other issue would be remembering previous state. I want to do this in a way that's not going to break full dynamic setup.

My thought is to reset the active layer after each animation; this would tell the next state where the "anchor" layer is and then I can do math to calculate if above or below the current active layer.

i think I got the best solution working. Using selected layers. Now, one just has to select the layers and it will work off of that.

See 5e3d286