Instance Property

focusBehavior

The focus behavior for a node.

Declaration

@property(nonatomic) SKNodeFocusBehavior focusBehavior;

See Also

Handling User Input

Controlling User Interaction on Nodes

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

userInteractionEnabled

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