Is it possible to pick whip a point in a path to a null object?

New Here ,
Apr 19, 2022 Apr 19, 2022

Copy link to clipboard

Copied

I am trying to pick whip a point to a null to control another element with the point movement. 

TOPICS
Expressions , FAQ , How to , Resources

Views

38

Likes

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
Adobe Community Professional ,
Apr 19, 2022 Apr 19, 2022

Copy link to clipboard

Copied

I don't think you can pick whip a point directly, but you could pick whip the path, to end up with something like this:

temp = thisComp.layer("Shape Layer 1").content("Shape 1").content("Path 1").path;
[temp, temp]

The you could modify it to something like this:

L = thisComp.layer("Shape Layer 1");
L.toComp(L.content("Shape 1").content("Path 1").path.points()[0])

Then modify the number in brackets ([0]) until you end up on the point you want. Or, just use the Create Nulls From Paths script to attach nulls to all the points and delete the ones you don't want.

 

 

 

Likes

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
Adobe Employee ,
Apr 19, 2022 Apr 19, 2022

Copy link to clipboard

Copied

LATEST

Hi babak pouradam,

 

Thanks for writing in.

You can try Window > Create Nulls From Path. Here's a YouTube video for help: https://www.youtube.com/watch?v=YnsQH-Ljn-Q&ab_channel=MotionDesignSchool

Let us know if it helps.

 

Thanks,

Nishu

Likes

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