Advertisement
nipapin

JSX | 5FFWD

Apr 27th, 2019 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* FIVE FRAME FORWARD*/
  2. var nipapin = new Object();
  3.    
  4.     nipapin.moveForward = function(frames){
  5.        
  6.         var comp = app.project.activeItem instanceof CompItem ? app.project.activeItem : null;
  7.        
  8.         if(!comp)
  9.             return;
  10.  
  11.         comp.time += frames*comp.frameDuration;
  12. }
  13. nipapin.moveForward(5);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement