how to rotate a rigidbody to a point on a plane on mouse down

Hi im new to a unity im trying to build a rts game and i want to be able to rotate my ship as a rigid body so that when i mouse down in game it rotates towards the location which i have clicked i have searched the forums for days yet to find a answer to help hopefully some one can give me a solution.

Put your plane in a specific layer.
On mouse down, send a raycast with a layermask that only contains your plane’s layer.
Then compute a look rotation using that raycast 's hit position.

Here is how you compute a look rotation Unity - Scripting API: Quaternion.LookRotation

If you don’t want to cast a ray and use layers another thing you can do is, you can convert the mouse position into the world space, and use that in look rotation computation. As you are working on a top-down game with 2D movement space, that should suffice.