Houdini 22.0 Nodes APEX nodes

Break

Breaks the execution of a loop.

On this page
Since 22.0

If the condition port is set to True, the innermost loop immediately terminates and execution continues after the loop’s End node (for example, ForEnd). When a jump occurs, the values of the Break node’s spare ports are copied to the matching ports of the loop’s End node (as well as to the matching ports of any IfEnd nodes traversed along the way).

If the condition port is set to False, a jump does not occur and the values pass through the spare ports unaffected.

Inputs

condition: Bool

If set to True, the innermost loop exits. The default value is True.

__spare__

If condition is set to True, the values of the node’s spare ports are copied to the matching ports of the loop’s End nodes.

Outputs

__spare__

If condition is set to False, passes through the values for use in downstream loop nodes.

See also

APEX nodes