Unity is making me feel like an Idiot! (Mouse Position)

All I want to do is read the mouse position X/Y on the screen, no matter what I try all I get back is 0.00 :?

I don’t want to convert it into 3d coordinates, I just want to read its position each time I click a spot on the screen… I could do this in 2 seconds in flash grrr!

Any help much appreciated.

Did you try using Input.mousePosition?

if (Input.GetMouseButtonDown(0))
 print(Input.mousePosition);

Awesome dude, yea I had that syntax alright I just wasn’t using it properly… :slight_smile:

Thanks :wink: