Click Position

Hey guys.
Suppose there’s an object, for example a wall —> (0,0,0) (5,0,0) (0,5,0) (5,5,0).

and the player clicks that wall on a random (x,y,z) position.
Is there any way to get the coordinates/position of the spot where the player hit the object?

if not, is there any logic alternative? I really need this for my game…

Thanks =]

Recycling one of my answers…