Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# CircuitCondition - Runtime Docs

## CircuitCondition :: table

#### Table fields

comparator | :: ComparatorString? | Specifies how the inputs should be compared. If not specified, defaults to `"<"`.
Specifies how the inputs should be compared. If not specified, defaults to `"<"`.
first_signal | :: SignalID? | Defaults to blank.
Defaults to blank.
second_signal | :: SignalID? | What to compare `first_signal` to. If not specified, `first_signal` will be compared to `constant`.
What to compare `first_signal` to. If not specified, `first_signal` will be compared to `constant`.
constant | :: int32? | Constant to compare `first_signal` to. Has no effect when `second_signal` is set. When neither `second_signal` nor `constant` are specified, the effect is as though `constant` were specified with the value `0`.
Constant to compare `first_signal` to. Has no effect when `second_signal` is set. When neither `second_signal` nor `constant` are specified, the effect is as though `constant` were specified with the value `0`.

Concept used in

- AgriculturalTowerBlueprintControlBehavior
- ArtilleryTurretBlueprintControlBehavior
- AssemblingMachineBlueprintControlBehavior
- AsteroidCollectorBlueprintControlBehavior
- FurnaceBlueprintControlBehavior
- InserterBlueprintControlBehavior
- LampBlueprintControlBehavior
- LoaderBlueprintControlBehavior
- LogisticContainerBlueprintControlBehavior
- MiningDrillBlueprintControlBehavior
- PowerSwitchBlueprintControlBehavior
- ProgrammableSpeakerBlueprintControlBehavior
- PumpBlueprintControlBehavior
- RailSignalBaseBlueprintControlBehavior
- SplitterBlueprintControlBehavior
- TrainStopBlueprintControlBehavior
- TransportBeltBlueprintControlBehavior
- TurretBlueprintControlBehavior
- WaitCondition
- WallBlueprintControlBehavior