SKTouchAction 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 touch/mouse action took place.
public enum SKTouchAction
- Inheritance
-
SKTouchAction
Fields
Name | Value | Description |
---|---|---|
Entered | 0 | The touch/mouse entered the view. |
Pressed | 1 | A finger or pen was touched on the screen, or a mouse button was pressed. |
Moved | 2 | The touch (while down) or mouse (pressed or released) moved in the view. |
Released | 3 | A finger or pen was lifted off the screen, or a mouse button was released. |
Cancelled | 4 | The touch/mouse operation was cancelled. |
Exited | 5 | The touch/mouse exited the view. |
WheelChanged | 6 | The mouse wheel was scrolled. |