def METHOD_NAME(self):
    if not self.recording:
        return
    time.dt = 1/60
    base.screenshot(namePrefix=self.file_path / f'{self.video_name}_{str(self.i).zfill(4)}.png', defaultFilename=0)
    self.i += 1