Finding the vector3 direction from an origin and and end point

Hello I am trying to fire a ray between 2 parts to see if there is anything in between them. However to cast a ray you need an origin and a direction. How can I find the direction that I would have to shoot the ray in from the origin point so that it fires towards the part I am trying to fire the ray to thanks.

Oh so for finding the unit direction from the origin to an end you should make this:

local direction = (endPosition - originPosition).Unit

Then you can multiply direction by anything so it can work.