Share
 
 

time and frame keywords

In animation expressions two useful keywords are available that are not in standard MEL:

  • time returns the current time position along the timeline.
  • frame returns the current frame position along the timeline.

You can use these keywords in animation expressions as if they were variables:

persp.translateY = frame / 2;
persp.rotateY = time;

Was this information helpful?