Mouse
- Updated2025-07-30
- 2 minute(s) read
Mouse information specified as a cluster of (Mouse Position, Mouse Modifiers). Mouse Position is a cluster of (Vertical, Horizontal) coordinates. Mouse Modifiers is a cluster of (Mouse button pressed?, Shift key down?, Menu key down?, and Option key down?).
Mouse position is relative to the picture control origin.
Elements
| Name | Description |
|---|---|
| Mouse Position | The vertical and horizontal coordinates that define the position of the mouse in the picture control.
|
| Mouse Modifiers | Cluster of Booleans that indicate whether various actions occur while the mouse is in the picture control.
|
Remarks
The following table lists the characteristics of this property.
| Short Name | Mouse |
| Data type | ![]() |
| Permissions | Read Only |
| Available in Run-Time Engine | Yes (Read Only) |
| Available in Real-Time Operating System | Yes |
| Settable when the VI is running | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Graphics and Sound\2D Picture Control\Pen Attributes And Image subsetting.vi
