Finding the mouse co-ordinate on a texture

I have a 2D texture and I want to be able to click on a position on the texture and for it to return the coordinate in relation of the texture back to me in pixels. Is this possible if so can you simply steer me in the right direction. Thanks

Perform a Raycast and get the textureCoord of the Hit: