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

how to make 'position' to take value from 'trim path'' value

Enthusiast ,
Jul 05, 2024 Jul 05, 2024

Hi,

 

I want the circle to take it's value from trim path's value. I cant form teh expression. dnt understand how to write it,

 

I need guidance. Thank you.

 

trim path.gif

TOPICS
Expressions
358
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 1 Correct answer

Community Expert , Jul 05, 2024 Jul 05, 2024

Try this:

L = thisComp.layer("Shape Layer 3");
p = L.content("Shape 1").content("Path 1").path;
L.toComp(p.pointOnPath(L.content("Trim Paths 1").end/100))
Translate
Community Expert ,
Jul 05, 2024 Jul 05, 2024

Try this:

L = thisComp.layer("Shape Layer 3");
p = L.content("Shape 1").content("Path 1").path;
L.toComp(p.pointOnPath(L.content("Trim Paths 1").end/100))
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 ,
Jul 05, 2024 Jul 05, 2024

Hi Dan,

 

Am gonna right it where?  on which property? 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
Enthusiast ,
Jul 05, 2024 Jul 05, 2024
LATEST

Oh my gaawd!! I figured it out.  😮 😮 😮 😮 this is so cool! 

😮 😮 😮 😮

 

Thank you so much. 😮 😮 😮

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