Cocos Creator API

1.0.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Enum Node.EventType

Module: cc

The event type supported by Node

TOUCH_START String static

The event type for touch start event, you can use its value directly: 'touchstart'

TOUCH_MOVE String static

The event type for touch move event, you can use its value directly: 'touchmove'

TOUCH_END String static

The event type for touch end event, you can use its value directly: 'touchend'

TOUCH_CANCEL String static

The event type for touch end event, you can use its value directly: 'touchcancel'

MOUSE_DOWN String static

The event type for mouse down events, you can use its value directly: 'mousedown'

MOUSE_MOVE String static

The event type for mouse move events, you can use its value directly: 'mousemove'

MOUSE_ENTER String static

The event type for mouse enter target events, you can use its value directly: 'mouseenter'

MOUSE_LEAVE String static

The event type for mouse leave target events, you can use its value directly: 'mouseleave'

MOUSE_UP String static

The event type for mouse up events, you can use its value directly: 'mouseup'

MOUSE_WHEEL String static

The event type for mouse wheel events, you can use its value directly: 'mousewheel'

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index