Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aescripts/e7ec62ebad9cbac2155de58691f6a431 to your computer and use it in GitHub Desktop.
Save aescripts/e7ec62ebad9cbac2155de58691f6a431 to your computer and use it in GitHub Desktop.
#AfterEffects #Script #KBar Moves the active comp's current time indicator by the defined amount
/*
Move by a predefined number of frames in the timeline.jsx
Moves the active comp's current time indicator by the defined amount
*/
try{
var framesToMove = -5; //make this a negative to move backwards
app.project.activeItem.time = app.project.activeItem.time + framesToMove * app.project.activeItem.frameDuration;
}
catch (e) {}
@ultrachroma
Copy link

Excellent . . . and so simple. Thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment