Get current frame time / fps in Blueprint?

Is it possible to get the frame time from the last frame or alternatively the current fps with Blueprint? I need simply the numbers from the console commands ‘stat unit’ or ‘stat fps’.

1 Like

I am reasonably sure that there is a Get World Delta Seconds blueprint node. Failing that, the Event Tick event node has a DeltaSeconds paramater. DeltaSeconds is the that has passed since the last frame rendered. You can use this information, with a little math, to get the current frames per second.

1 Like

Thank you, I’ll gonna try that.

Here’s how I did it using a UMG widget:

It is pretty accurate

10 Likes

Oh my god, you saved me, you are so amazing!!