• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Expression to move / pause / repeat

New Here ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

I thought I would be able to find an example expression but I'm having trouble finding a way to have a null object move a set amount; let's say 10 pixels, then pause for 5 frames, then move 10 pixels, then pause and repeat. Kind of like how a typewriter would move in slow motion. Hope you can help.

TOPICS
Expressions

Views

272

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Aug 26, 2020 Aug 26, 2020

If you need it in that static rhytm, you can also just keyframe the jump/wait phase and use

 

loopOut("offset");

 

expression.

 

*Martin

Votes

Translate

Translate
New Here ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

I found a good example incase anyone wants to do the same thing:

 

// set freqency and distance
countFrames = time/thisComp.frameDuration;

freq = countFrames / 5;
jump = Math.round(freq);
newX = jump * -20;

// Create Array
value + [newX,0,0]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

If you need it in that static rhytm, you can also just keyframe the jump/wait phase and use

 

loopOut("offset");

 

expression.

 

*Martin

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 26, 2020 Aug 26, 2020

Copy link to clipboard

Copied

LATEST

Cool thanks, didn't know about that one. Looks handy.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines