Magnetic resonance (MR) guided radiation therapy (MRgRT) enables control over the delivery of radiation based on patient motion indicated by MR imaging (MRI) images captured during radiation delivery. A method for MRgRT includes: simultaneously using one or more radiation therapy heads to deliver radiation and an MRI system to perform MRI; using a processor to determine whether one or more gates are triggered based on at least a portion of MRI images captured during the delivery of radiation; and in response to determining that one or more gates are triggered based on at least a portion of the MRI images captured during the delivery of radiation, suspending the delivery of radiation.