Skip to content

bool2Event

111

Description The bool2Event node is an edge-detector that converts a boolean state change into a momentary action pulse. It specifically triggers on a rising edge, meaning it fires an event only when the input changes from 0 (false) to 1 (true). It ignores the transition from 1 back to 0.

Use Cases * Sensor Triggers: Trigger a one-time sound effect or door opening the moment a player steps on a pressure plate or closes a magnetic contact. * State Monitoring: Convert a "Puzzle Solved" boolean signal into a "Fire Fireworks" action pulse without re-triggering when the puzzle is reset.

Connectors in

  • in [type: bool]: The boolean signal to monitor for a 0 to 1 transition.

Connectors out

  • event [type: action]: A momentary pulse fired upon the rising edge of the input.

Connectors in

  • in [type: bool]

Connectors out

  • event [type: action]