編集

次の方法で共有


SKTouchAction Enum

Definition

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.

Applies to