def METHOD_NAME(self):
    # Toggles the distortion on/off.
    if self.distortionOn:
        self.distortionObject.hide()
    else:
        self.distortionObject.show()
    self.distortionOn = not(self.distortionOn)