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

loop out expression

Enthusiast ,
Nov 20, 2022 Nov 20, 2022

Hello,

I am learning about expression control from a tutorial. There the teacher controls the text position with a null layers which is controlled by Expression Control- Point. In that composition She also teaches us how to connect one dimensional exopression with two dimensionals expression (array). I followed same. She showed Us how can we match the text speed with the rotation value, by pick whipping expression one to another. I can successfully pull these all.

 

but Later I was trying to do someting myself. I try to see if I can loop the text using 'LOOP OUT' expression. I wrote 'loopOut()' below the main expression. but nothing happend. why?

 

 

Screenshot_3.jpg

I want to loop the text, maintaining the rotation speed expression (Pick whipped from rotation expression of  angle controller) How can I do it?

 

 

 

ball animation.gif

TOPICS
Expressions
857
Translate
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 2 Correct answers

Community Expert , Nov 20, 2022 Nov 20, 2022

loopOut() needs keyframes to operate, so if you just add start and stop keyframes to the Angle Control for the section you want to loop, and then change your text postion expression to this, it should work:

temp = thisComp.layer("angle controller").effect("Angle Control")("Angle").loopOut();
[temp-650, 872]
Translate
Community Expert , Nov 20, 2022 Nov 20, 2022

It looks like you didn't add the keyframes to the angle control. Just add one at time = 0 and another to mark the end of the section you want to loop. The keyframes won't affect the value of the angle control, which will still be driven by its expression.

Translate
Community Expert ,
Nov 20, 2022 Nov 20, 2022

loopOut() needs keyframes to operate, so if you just add start and stop keyframes to the Angle Control for the section you want to loop, and then change your text postion expression to this, it should work:

temp = thisComp.layer("angle controller").effect("Angle Control")("Angle").loopOut();
[temp-650, 872]
Translate
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
Enthusiast ,
Nov 20, 2022 Nov 20, 2022

Hello, It didnt work. It shows error. (Attached).

Translate
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 ,
Nov 20, 2022 Nov 20, 2022

It looks like you didn't add the keyframes to the angle control. Just add one at time = 0 and another to mark the end of the section you want to loop. The keyframes won't affect the value of the angle control, which will still be driven by its expression.

Translate
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
Enthusiast ,
Nov 20, 2022 Nov 20, 2022

Hi,

I would put keyframes into what? In which property of Angle control?  (Face palm) I am very New to AE. (Face palm again)

Translate
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
Enthusiast ,
Nov 20, 2022 Nov 20, 2022
LATEST

Oh my gawwd! It works! I had to put keayframes into "Angle" of "Angke Control"!! I am screaming! Thank you.

 

Translate
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