ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

timeToFrames() expression will not work. AE CC 2020

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jeroen Steens
timeToFrames() expression will not work. AE CC 2020
on Jan 12, 2020 at 9:47:44 pm
Last Edited By Jeroen Steens on Jan 12, 2020 at 10:13:08 pm

I'm trying to use this expression but for some reason I can't get the timeToFrames() expression to work.
In fact, it won't even show up as a suggestion when typing it.




if ((timeToF() % 3) == 0) {
100*random(1)
}


Return to posts index

Dan Ebberts
Re: timeToFrames() expression will not work. AE CC 2020
on Jan 12, 2020 at 10:46:05 pm

You have to give it a result when the frame number isn't divisible by 3, like this:


if ((timeToFrames() % 3) == 0) {
100*random(1)
}else
value




Return to posts index

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