# How to get an event for every rendered frame

**URL:** <https://forums.unrealengine.com/t/how-to-get-an-event-for-every-rendered-frame/609388>\
**Category:** Rendering\
**Tags:** unreal-engine, UE5-0, Rendering, question\
**Created:** [July 20, 2022, 2:07pm UTC](https://forums.unrealengine.com/t/how-to-get-an-event-for-every-rendered-frame/609388 "2022-07-20T14:07:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amir-eyewarrior](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amir-eyewarrior](https://forums.unrealengine.com/u/amir-eyewarrior)\
**Post date:** [July 20, 2022, 2:07pm UTC](https://forums.unrealengine.com/t/how-to-get-an-event-for-every-rendered-frame/609388/1 "2022-07-20T14:07:49Z")

</div>

I have a sequence that I am rendering using the movie render queue plugin.  
As the rendering happens, I would like to dump extra information (bone/socket locations) to the disk related to each frame.  
To do this, I have been looking for an event to trigger my blueprint code to dump this extra information.  
I have tried using many different events but all these events fire faster than the actual number of .png images that I get when I render the sequence.  
I have tried:

- The tick event
- The “Get Frame Count” blueprint function
- I added a repeating event track that spans all the frames of the sequence and this one fires a custom event.
- I implemented a custom MoviePipelinePIEExecutor in C++ and override the OnBeginFrame\_Implementation method and printed on how often this method gets called.

All these different avenues of getting a frame count / event did not give me what I wanted.  
All of them fire like the tick event which fires roughly 7 times faster than the actual number of frames (number of .png images that I get in the output).

How can I get a frame count / event that matches the number of images that I get in the output?

Thanks!

---

<div class="post-metadata">

**Author:** ![FlyingFishGold](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FlyingFishGold](https://forums.unrealengine.com/u/FlyingFishGold)\
**Post date:** [November 3, 2024, 7:44am UTC](https://forums.unrealengine.com/t/how-to-get-an-event-for-every-rendered-frame/609388/2 "2024-11-03T07:44:28Z")

</div>

I have the same problem bro, and have tried the former three method with not working。Have you find out a way to solve this ?

---

<div class="post-metadata">

**Author:** ![comlys](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/comlys/32/998665_2.png) [@comlys](https://forums.unrealengine.com/u/comlys)\
**Post date:** [November 4, 2024, 7:12pm UTC](https://forums.unrealengine.com/t/how-to-get-an-event-for-every-rendered-frame/609388/3 "2024-11-04T19:12:23Z")

</div>

Repeater events should work. You can also hijack the MRQ HUD and have it run a custom event each frame from there.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/6/bf6930cd2bd492bb24f74e91fd81cf1005c9766e.jpeg "Creating a Custom Burnin in Movie Render Queue with Blueprints in Unreal Engine") ](https://www.youtube.com/watch?v=6U9-QyA5nIA&t=2096)
