ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

set slider number to layer marker

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ehsan Adham
set slider number to layer marker
on Jul 6, 2020 at 2:22:20 pm

Hi Every one

I just want my slider number to be changed along with the layer marker. Such as: 1.2.3.4 ...


i dont need this: marker.nearestKey(time).index


Return to posts index

Dan Ebberts
Re: set slider number to layer marker
on Jul 6, 2020 at 3:36:47 pm

Like this maybe:


n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (time < marker.key(n).time) n--;
}
n



Dan



Return to posts index

Ehsan Adham
Re: set slider number to layer marker
on Jul 7, 2020 at 1:48:58 am

YeeeeeeeS

Tanks Dan


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]