The red gear is held in place via the axle, and isn't free to rotate because of the crescent shaped portion on the drive wheel. The spoke on the drive wheel catches the driven wheel before/simultaneous to the crescent rotating out of the way and freeing the driven wheel to move.