Instance Property

userInteractionEnabled

A Boolean value that indicates whether the node receives touch events.

Declaration

@property(nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled;

Discussion

The default value is NO.

See Also

Handling User Input

Controlling User Interaction on Nodes

Enable your node to respond to user input, like touches or mouse clicks.

focusBehavior

The focus behavior for a node.