# Trying to make automatic, sequential screenshots using CameraActor

**URL:** <https://forums.unrealengine.com/t/trying-to-make-automatic-sequential-screenshots-using-cameraactor/2316767>\
**Category:** Programming & Scripting\
**Tags:** Python, unreal-engine, question\
**Created:** [February 4, 2025, 1:26am UTC](https://forums.unrealengine.com/t/trying-to-make-automatic-sequential-screenshots-using-cameraactor/2316767 "2025-02-04T01:26:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![colton\_jhuapl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@colton\_jhuapl](https://forums.unrealengine.com/u/colton_jhuapl)\
**Post date:** [April 2, 2025, 6:08pm UTC](https://forums.unrealengine.com/t/trying-to-make-automatic-sequential-screenshots-using-cameraactor/2316767/3 "2025-04-02T18:08:03Z")

</div>

This thread mostly addresses the issue: [Python API/highrescreenshot - #4 by mamoniem](https://forums.unrealengine.com/t/python-api-highrescreenshot/132783/4)

I have found that the solution (using register\_slate\_pre\_tick\_callback) only works when being run from the Editor originally (and not using python’s subprocess package). Once I implemented this solution, I noticed that you still have to code a wait period into the script to let all the screenshots get processed. In my quest to have a dynamic wait period that is only as long as necessary, I employed register\_slate\_post\_tick\_callback in a similar way to register a loop for waiting, but so far it seems I don’t even need to encode any waiting, and seemingly the mere existence of the post tick callback makes the script wait for the previous pretick to finish.

---

_[View the full topic](https://forums.unrealengine.com/t/trying-to-make-automatic-sequential-screenshots-using-cameraactor/2316767)._
