def METHOD_NAME(self, name=None, offset=None):
    zoom_props = self.zoomMotor.getCurrentPositionProperties()
    if "beamPositionX" in zoom_props:
        self.beam_position = [
            zoom_props["beamPositionX"],
            zoom_props["beamPositionY"],
        ]
        self.positionUpdated()