GE (Greater Than or Equal)
Compares two values and outputs TRUE if the first is greater than or equal to the second.
Description
The GE instruction performs a greater than or equal comparison. It evaluates whether one value is larger than or equal to another and writes the boolean result to the target variable.
Use GE instead of GT when you want the comparison to also succeed when the values are exactly equal.
Syntax
- step: the parent step object (from
self.add_step()) - variable_name: the boolean variable that receives the comparison result
- instruction: must be
ActionInstruction.GE
Sequence Visual Editor

The BOOL action variable is TRUE while level is greater than or equal to 95.
Python
from automation_machine import ActionInstruction
step.add_action("variable_name", "Description", instruction=ActionInstruction.GE)
See Also
- GT (Greater Than): strict greater than
- LE (Less Than or Equal): opposite comparison
- EQ (Equal): equality check
- NE (Not Equal): inequality check
- Action Qualifiers Overview
- Instructions Overview