SKMouseButton Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies constants that define which mouse button was pressed.
public enum SKMouseButton
- Inheritance
-
SKMouseButton
Fields
Name | Value | Description |
---|---|---|
Unknown | 0 | An unknown mouse button was pressed. |
Left | 1 | The left mouse button was pressed, or, a finger/pen was touched on the screen. |
Middle | 2 | The middle mouse button was pressed. |
Right | 3 | The right mouse button was pressed. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.