If In Interval

The If In Interval node checks if a floating-point input falls within a specific range defined by from and to. In addition to boolean and action outputs, it provides a value pin that outputs one of two custom values based on the result.
When to use this node: * Range Validation: Verifying that a player's analog dial is turned to exactly the "Goldilocks zone" (e.g., between 45.5 and 47.2). * Dynamic Parameter Scaling: Outputting a specific "Active" value when a sensor is in range and a "Standby" value when it is out of range. * Zone Detection: Detecting if a player-controlled object is within a specific proximity range.
Connectors in
- value [type: float]
- from [type: variant]
- to [type: variant]
- ifTrue [type: variant]
- ifFalse [type: variant]
Connectors out
- value [type: variant]
- result [type: bool]
- true [type: action]
- false [type: action]
Node properties
- from [type: float]
- to [type: float]