This ensures synchronic motions of blue door and yellow step.
When the door opens, the step moves out and vice versa.
Yellow rack is fixed to the yellow step.
Blue rack is fixed to the blue door.
Both can be in mesh with the pink gear.
Disadvantage: Measure for positioning the step at its two end positions is needed.
Anti-dust measure for the gears is needed.