A method of operating a magnetic resonance imaging scanner for imaging the heart of a patient comprising inducing apnoea in the patient; sensing an electrical heart waveform; in response thereto moving the chest wall of the patient to a desired location; and triggering the scanner to image.