Inherits from NSObject
Declared in KKHitTest.h

Tasks

  •   isHitTesting

    Enables hit testing for the Cocos2D OpenGL view. If enabled, all nodes in the scene hierarchy are tested for a hit every time a touch began or mouse down event is received. The hit test is performed via [node containsPoint:location]. If a node is “hit”, then the touch/click is processed by the Cocos2D OpenGL view. Otherwise it is passed on to underlying views.

    property
  • + sharedHitTest

    returns the singleton instance

Properties

isHitTesting

Enables hit testing for the Cocos2D OpenGL view. If enabled, all nodes in the scene hierarchy are tested for a hit every time a touch began or mouse down event is received. The hit test is performed via [node containsPoint:location]. If a node is “hit”, then the touch/click is processed by the Cocos2D OpenGL view. Otherwise it is passed on to underlying views.

@property (nonatomic) BOOL isHitTesting

Declared In

KKHitTest.h

Class Methods

sharedHitTest

returns the singleton instance

+ (KKHitTest *)sharedHitTest

Declared In

KKHitTest.h