Hi guys:

I am trying to point an object at another path and doing this manually is pretty easy as we can see at the image but have no idea of doing it on script:

 

 

Any idea of how can I proceed?

Thanks,

Ignacio