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

Is it possible to link the end point of a line to a layer

Explorer ,
Jan 11, 2024 Jan 11, 2024

Hey there,

I'm wanting to link the end point of a given line path (created with a shape layer) to the center of a precomped image wherein if I move one of the images, the end point of the line attached to the image moves with it without readjusting the start point.

 

Here is a picture of my current composition, if it helps. I'd like to link the line that goes from the Ashwaganda text to the Ashwagandha picture, where in the endpoint of the of line is at the center of the Ashwaganda picture.

layer.PNG

 

Thank you!

 

TOPICS
Expressions , How to
552
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 , Jan 11, 2024 Jan 11, 2024

Select the Path, open the Window,/Create Nulls From Paths.jsx (Window menu at the bottom), make sure that the paths are selected, then click Points Follow Nulls. This will give you a null at each end of the line if there are only two points. You can then parent the shape layers to the nulls or use expressions to move the nulls to the same position as the graphics.

Translate
Community Expert ,
Jan 11, 2024 Jan 11, 2024

Select the Path, open the Window,/Create Nulls From Paths.jsx (Window menu at the bottom), make sure that the paths are selected, then click Points Follow Nulls. This will give you a null at each end of the line if there are only two points. You can then parent the shape layers to the nulls or use expressions to move the nulls to the same position as the graphics.

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
Explorer ,
Jan 11, 2024 Jan 11, 2024
LATEST

Perfect! That's a super helpful feature I didn't know about.

Thank you for the quick response.

 

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