Sparkworks · circuit reference

How two button signals open the doors and disable the traps

In the official example, two Shootable Button inputs feed AND. When both input signals are ON, AND sends ON to two doors and two lights. That same signal passes through NOT to disable the separate gate feeding two lightning traps.

Based on the October 8, 2026 prerelease demonstration. Sparkworks is planned for October 15.

Find the button-controlled branch

Official graph with two Shootable Buttons feeding AND, four door and light outputs, and a NOT branch connected to an AND gate before two lightning traps.Open full-size image
The two buttons and their AND are at the lower left of the graph. The direct wires go to doors and lights; the long wire passes through NOT to the trap gate.

AND: both input signals are required

Shootable Button 01 and Shootable Button 02 connect to the same AND node. Its direct output fans out to two doors and two exit lights.

Two button signals converge on AND before the doors and lightsShootable Button 01 and Shootable Button 02 both connect to AND. Its direct output connects to two exit doors and two exit lights.Shootable Button 01input signalShootable Button 02input signalANDboth inputs ONTwo exit doorsdirect AND outputTwo exit lightsdirect AND output
Signal connections, redrawn from the official example. Swipe the diagram to inspect each part.

AND supplies ON only when both input signals are ON. One ON signal is insufficient. In the official explanation, this is the condition that opens the doors and turns on the lights.

This describes signal states. It does not establish that two players must physically hold buttons at the same instant, or how long either button retains its signal.

NOT: use the success signal to block the traps

The button AND also connects to NOT. NOT flips the successful ON condition to OFF, then feeds another AND immediately before the lightning trap outputs.

NOT blocks the trap gate when both button signals are ONThe AND from the buttons connects to NOT, then to one input of the trap AND. The existing pulse source OR connects to the other input. The trap AND feeds two lightning traps.Button ANDsuccess conditionNOTinvert conditionPulse source ORpulse branchTrap ANDboth inputs requiredLightning trapstwo outputs
Signal connections, redrawn from the official example. Swipe the diagram to inspect each part.

The trap AND combines the pulse source with the inverted button condition. When both button inputs are ON, NOT supplies OFF, so this AND cannot pass a pulse to either lightning trap.

Before that condition is met, NOT permits the pulse branch through its input. It does not make lightning fire continuously: the trap output still depends on the other input, the pulse source. This diagram isolates this gate; it does not reconstruct the partly hidden pulse generator.

Compare all four input combinations

Button 01 signalButton 02 signalDoor / light branchTrap permission from NOT
OFFOFFOFFON — still requires a pulse
ONOFFOFFON — still requires a pulse
OFFONOFFON — still requires a pulse
ONONONOFF — pulse blocked

Use the same condition for an entrance and a hazard

The useful idea is that one success condition can control two opposite outcomes. Send AND directly to what should become active, such as the doors and lights, and send it through NOT to the hazard gate that should become inactive.

In this example, the doors, lights and trap permission all depend on the same pair of button signals. That avoids treating the trap shutdown as a separate, unrelated action.

The graph does not establish button latching, release timing, a repeat-run process or a global reset. It also does not provide a complete from-zero build or the entire lightning pulse generator. Keep those questions separate from the four input combinations shown here.

Watch the official condition being explained

4:06 — both button inputs disable the traps, open the doors and turn on the lights.

Source: Keen Games’ official Introducing Sparkworks demonstration, published October 8, 2026.

Read another control pattern