M {1/0} {xpos ypos}
M(nged)
NAME
M - Send an _mged_ mouse event
On this page
SYNOPSIS
DESCRIPTION
Sends an mged mouse (i.e., defaults to a middle mouse button) event. The first argument indicates whether the event should be a button press (1) or release (0). The xpos and ypos arguments specify the mouse position in mged screen coordinates between -2047 and +2047. With the default bindings, an mged mouse event while in the viewing mode moves the view so that the point currently at screen position (xpos, ypos) is repositioned to the center of the mged display (compare to the center command). The M command may also be used in other editing modes to simulate an mged mouse event.
EXAMPLES
Translate the point at specified screen coordinates to the center of the display.
mged> M 1 100 100
The point at screen coordinates (100,100) is repositioned to the center of the display.
AUTHOR
BRL-CAD
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org