SKTouchAction Enum
Definition
Specifies constants that define which touch/mouse action took place.
public enum SKTouchAction
- Inheritance
-
SKTouchAction
Fields
Cancelled | 4 | The touch/mouse operation was cancelled. |
Entered | 0 | The touch/mouse entered the view. |
Exited | 5 | The touch/mouse exited the view. |
Moved | 2 | The touch (while down) or mouse (pressed or released) moved in the view. |
Pressed | 1 | A finger or pen was touched on the screen, or a mouse button was pressed. |
Released | 3 | A finger or pen was lifted off the screen, or a mouse button was released. |
WheelChanged | 6 | The mouse wheel was scrolled. |