Skip to main content
Participant
April 19, 2022
Question

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

  • April 19, 2022
  • 2 replies
  • 567 views

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

This topic has been closed for replies.

2 replies

nishu_kush
Legend
April 20, 2022

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

Dan Ebberts
Community Expert
Community Expert
April 19, 2022

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.