quaternions and a single axis or rotation

I have a quaternion setup for a prefab to turn and face another one when it is in range

my problem is if there is a height difference then the original prefab turns downward to look at the object as well

I would like my prefab to only rotate around the y axis and just look in the direction of the object.

how would I accomplish this?

nevermind.

found my answer finally

transform.LookAt(Vector3(Forward1.position.x, 0, transform.position.z));