Rotation based on coordinates

Hi, how do i change an object’s _rotation based on the xy coordinates of another object (so it is facing it)?