Differents displays when mouse move

Hello,



I have the following problem :

  • I have a cloud of point which represent a mesh.
  • I know display the mesh with triangles or only the vertices (points).

    My problem is that I want display the cloud of points (vertices) when the mouse move and the mesh(triangles) else.

    How can I do it ?



    Thank you…