So "having trouble" means "I didn't even try" .. ? grin

If you want others to write code for you you should post under "Jobs offered" instead. This forum is meant for users experiencing difficulties when programming. If you decide to try it for yourself you have a look in the manual.

http://www.conitec.net/beta/mouse_pos3d.htm

This is almost exactly what you need. You just need to add one or two lines of code to the example.


Always learn from history, to be sure you make the same mistakes again...