The pinion is brought into contact with the toothed ring on the flywheel by a sliding fork. The fork is moved by a solenoid, which has two sets of contacts that near just one following the other. The starter motor itself has a device, referred to as a Bendix gear, https://ltd69246.blognody.com/38497134/the-definitive-guide-to-starter-parts