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

Two expressions on a single property

Community Beginner ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

Hello, I have a wiggle and I need to add a loopOut in the same property of position.

 

A shape goes left to right, in the Position property I stated below.

loopOut()
wiggle(3,20)

In this case, After effect take only the bottom code, so the shape wiggles but does not loopout.

 

How can I adopt both expression on one property?

TOPICS
Expressions

Views

259

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

Community Expert , Jan 27, 2023 Jan 27, 2023

Try it this way:

w = wiggle(3,20) - value;
loopOut() + w

Votes

Translate

Translate
Community Expert ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

Try it this way:

w = wiggle(3,20) - value;
loopOut() + w

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
Community Beginner ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

I did it!
Thank you very much!

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
Community Beginner ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

Could you teach me what does "- value" mean?
I did it without "- value", shape appeared unexpected place.

I can not figure out how it controles shape to be appeared from correct place.

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
Community Expert ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

The wiggle() result always includes the keyframed/static value of the property it's applied to. Subtracting value isolates just the wiggle component so that you can add just that part to the result of loopOut(). Otherwise you'd end up with the value in there twice (once from wiggle() and once from loopOut()).

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
Community Beginner ,
Jan 27, 2023 Jan 27, 2023

Copy link to clipboard

Copied

LATEST

I got it.

Thank you very much.

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