| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > GraphClass > GraphClass Methods >====== GetMouse (get mouse coordinates in all formats) ====== | [[findnearbynodes locate nodes based on mouse position .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getvaluefromfield get contents of specified field .htm|{{btn_next_n.gif|Next page}}]] | | || **GetMouse** {{blk2blue.jpg|blk2blue.jpg}} The GetMouse method is used to retrieve mouse coordinates each time a mouse event has occurred on the graph control. **Implementation:** The **GetMouse** method is called from the TakeEventOfParent method, and sets the following properties: ! Coordinates of the mouse in DC units self.eMouseX (see [[mousex return mouse horizontal position .htm|mousex()]]) self.eMouseY (see [[mousey return mouse vertical position .htm|mousey()]]) ! Coordinates of the mouse in logic (independent) units self.eMouseXl self.eMouseYl ! Coordinates of the mouse in physical (node)units self.eMouseXa self.eMouseYa **See Also:**     [[takeeventofparent process all graph events .htm|TakeEventOfParent]]