Pull-up

Passes its Over-ride input to the output when that input has data, and falls back to its Reference input when it doesn’t.

When to Use

The Pull-up is mainly a tool for macro builders who want an optional input with a sensible default: when the macro’s user connects something, it is used; when they don’t, the macro falls back to your default.

To choose between two inputs by a setting instead of by whether data is present, use the Switch.

How to Use

Connect your default data to the Reference Input and the preferred data to the Over-ride Input. The Pull-up has no settings: whenever the Over-ride input carries data it goes to the output, and otherwise the reference does.

Giving a macro an optional input with a default:

  1. Inside the macro, place a Pull-up in front of the devices that need the optional data.
  2. Connect your default (for example a constant, or a mask generated inside the macro) to the Reference Input.
  3. Connect the macro’s input port to the Over-ride Input, and tick Optional for that port in the macro’s port settings so the macro’s users can leave it unconnected.
  4. When the macro’s user connects something to that input, the Pull-up passes it on; when they leave it unconnected, your default is used.

Inputs

PortTypeRequired/OptionalDescription
Reference InputAnyRequiredThe fallback data, used whenever the Over-ride input provides nothing.
Over-ride InputAnyOptionalThe preferred data. When it carries data, it is sent to the output instead of the reference.

Outputs

PortTypeDescription
Primary OutputAnyThe Over-ride input’s data if present, otherwise the Reference input’s data.

Parameters

The Pull-up has no parameters.

Tips and Tricks

  • If neither input has data, the Pull-up produces no output.
  • The Reference input’s branch still builds even when the Over-ride input is in use. Keep the default branch light if build time matters.

Limitations

  • The two inputs can have different resolutions, but both must be in the same space (both world space or both local space).
Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support