The rear of the moonroof can be tilted open to provide more ventilation.
To fully tilt automatically, momentarily press the tilt/slide switch.
To fully close automatically, momentarily press the tilt/slide switch in the forward direction.
To stop tilting partway, press the tilt/slide switch.

Moonroof (Some models)
Slide OperationMazda 6 Owners Manual: Camshaft position (cmp) sensor inspection
Caution
When foreign material such as an iron chip is on the CMP sensor,
it can cause abnormal output from the sensor because of flux turbulence and
adversely affect the engine control. Be sure there is no foreign material on
the CMP sensor when replacing.
Note
Perform the follow ...
Mazda 6 Owners Manual: Precaution
Vehicles with ABS/TCS
1. The ABS warning light, BRAKE system warning light, TCS indicator light
and/or TCS OFF light illuminate even when the system is normal.
*1 : In cases where the light may illuminate, only when ABS/TCS HU/CM detects
that speed sensor of rear wheel is malfunctioning.
*2 ...