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 the type of touch action that occurred.
public enum SKTouchAction
- Inheritance
-
SKTouchAction
Fields
| Name | Value | Description |
|---|---|---|
| Entered | 0 | A pointer entered the view bounds. |
| Pressed | 1 | A pointer made contact with the view (finger touched or mouse button pressed). |
| Moved | 2 | The pointer moved while in contact with the view. |
| Released | 3 | A pointer was released from contact with the view (finger lifted or mouse button released). |
| Cancelled | 4 | The touch interaction was cancelled. |
| Exited | 5 | A pointer exited the view bounds. |
| WheelChanged | 6 | The mouse wheel was scrolled. |