add mouse interaction in 3D.