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: Three-way catalytic converter (twc) inspection
Note
Make sure that no HO2S DTCs have been detected. If detected, this
inspection is not applicable for TWC inspection.
1. Connect the WDS or equivalent and monitor PIDs as following.
Monitor the right TWC using O2S11 PID for upstream HO2S and O2S12 PID
for downstream HO2S.
2. Be ...
Mazda 6 Owners Manual: Contact Authorized Mazda Dealer and Have Vehicle Inspected
If any of the following warning lights or the indicator light turns on/flashes,
the system may have a malfunction. Contact an Authorized Mazda Dealer to have your
vehicle inspected.
...