Connect events and actions
Define what should happen when an input or game event occurs.
Connect events to conditions and actions in the visual editor. Track shared or per-player progress with counters, flags and timers, or start with a Rules Wizard draft.
Create rules using triggers and actions to decide how your pinball machine responds. Connect switches and game events to supported hardware outputs, scoring, sound, lighting and displays. Configure rules to build your own gameplay. Use the Wizard sidebar for guided setup and preview independent rules before creating disabled drafts.
Define what should happen when an input or game event occurs.
Review your rules in one place as the machine evolves.
Use the rule editor to connect events, conditions and actions. Keep the logic visible as your machine grows.
Deploy supported hardware rules to the ESP. Flipper and simple lighting responses can run locally while scoring and sound are handled on the Pi.
Rules request game changes and read manager state. Game Management tracks players, credits and turns. Ball Management uses switch readings to track balls and shows where the machine still needs evidence.
Start rules from supported hardware, system or custom events, or when a named timer expires.
Use flags, counters, elapsed time and observed device states to decide when a rule can run. The Raspberry Pi evaluates these checks before dispatching its actions.
Set counters, flags and timers to Global, Per game or Per player. Build a shared jackpot or let each player resume their own countdown on their next ball.
Configure actions for hardware outputs, sound, lighting, media, events and counters.
Rules decide what happens; scoring gives that moment value. Combine them to build a game that reacts clearly, rewards the right shots and grows beyond isolated switches.
Name the behaviour and add notes or tags.
Build its triggers, conditions and supported actions.
Check the rule before saving, syncing and testing.
Here's how switches, game rules, scoring, sound and displays can fit together in a pinball game.
The left flipper button is pressed. A supported local rule on the ESP32-S3 activates the flipper output without waiting for a round trip to the Raspberry Pi. The configured coil safety limits still apply.
When the ball hits a bumper switch, Scoring can award points while your rules play a sound and increase a counter. A separate supported hardware rule can handle a fast bumper response.
Each bumper hit increases the counter. Add a rule that checks the counter value, so you can decide what happens when the player reaches a target.
When the counter reaches your chosen value, trigger a media scene. That scene could play a video or animation on the backglass while the rest of the game continues.
That's one example. You can combine triggers, conditions and actions to build your own game, from a simple scoring rule to a series of events that change how the machine plays.
Find setup instructions, controls and technical reference in the documentation.