dynamically get terrain height of current mouse position

when I click on the terrain, I would like to determine the height of the terrain in that area, how can I go out this

transform.position.y = Terrain.activeTerrain.SampleHeight(transform.position);

Also reference the mouse click…

http://forum.unity3d.com/threads/68694-How-to-Position-Correctly-from-Mouse-Click

nice!!, i’ve been looking for this for a while now, thanks a lot, much help