Toggle Switch
A latching two-position switch. Clicking it during simulation flips between the open and closed states, where it stays until clicked again.
Properties
| Property | Description | Default |
|---|---|---|
| Label | Display name shown on the canvas | SW1 |
| Initial state | State when simulation starts (On / Off) | Off |
| Contact resistance | Resistance when closed (Ω) | 0.05 Ω |
Simulation behavior
Click the switch during simulation to toggle between open (off) and closed (on). The state is latching — it does not return to the previous position on release.
The visual indicator on the component body changes between the open and closed symbol so you can see the current state at a glance. Current-flow particles start or stop accordingly.
The initial state property determines what position the switch starts in each time a simulation is launched.
Tips
- Set initial state to On for normally-closed behavior — the switch starts closed and opens when clicked.
- Use toggle switches to simulate power-on / power-off events without having to stop and restart the entire simulation.
- In a shared board, any collaborator can click switches during simulation — use labels to communicate the intended role of each switch.