From: Maxim Belkin (
Date: Wed Dec 17 2014 - 01:30:56 CST

Hi Xinqiang,

- Your mouse pointer is at the surface of your screen (obviously).
- This surface is a plane perpendicular to your view direction.
- Your view direction is [molinfo top get rotate_matrix]
- The center of your view is [molinfo top get center] or, more pedantically: [molinfo top get center_matrix]

If you play a little bit with these and the scaling (molinfo top get scale_matrix), you can get what you want. However, instead you can draw simple objects (e.g. spheres) at various location and figure out necessary coordinates manually.


> On Dec 16, 2014, at 5:11 PM, Xinqiang Ding <> wrote:
> Dear all,
> How can we get the coordinate of the mouse arrow in VMD? I know that if there is an atom, we can select that atom, then see their coordinates using label. But how can I get the coordinate of the point which the mouse arrow is pointing to and there is no atom there?
> Thank a lot,
> Xinqiang