Enumeration

SKNodeFocusBehavior

Options for the focusable states of a SpriteKit node.

Declaration

typedef enum SKNodeFocusBehavior : NSInteger {
    ...
} SKNodeFocusBehavior;

Topics

Enumeration Cases

SKNodeFocusBehaviorNone

Node is not focusable.

SKNodeFocusBehaviorOccluding

Node is not focusable and prevents nodes that it visually obscures from becoming focusable.

SKNodeFocusBehaviorFocusable

Node is focusable and prevents nodes that it visually obscures from becoming focusable.