Unit Reference Polarity - RealityStop/Bolt.Addons.Community GitHub Wiki

Polarity

Given a number, Polarity outputs whether the value is zero, positive or negative.

Polarity queries the input number and relays that information to the output nodes. One thing to note is that since this node lacks a control flow, each output port will query the input each time it is accessed. If you wish to preserve the output, use a cache node or graph variable to record the state and query once.

Example usage:

⚠️ **GitHub.com Fallback** ⚠️