def METHOD_NAME(self, object_names, duration, wait):
    positions = []
    for name in object_names:
        alt_object = self.altdriver.find_object(By.NAME, name)
        positions.append(alt_object.get_screen_position())
    self.altdriver.multipoint_swipe(positions, duration=duration, wait=wait)