Moving two geometries along a line

I want to move the human 3d and the horizontal line along the vertical line.
here is the script i tried but it isnt working.
can someone please help with this issue.

you can use something like this:

1 Like

thank you! will try this :slight_smile: