Stop the gameplay

Is there a way to make Unreal calculate the framerate and if it goes lower than a certain number stop the game?

for example:

I start the game -> my fps is lower than 25 -> the game goes on pause and, let’s say, it opens a widget-menu

I know how to pause and obviously how to open a widget, but I don’t have a clue how to make Unreal read the fps and work consequently!

Not 100% sure if this works or not, but it’s a start. You could try this, alongside the “stat fps” console command and printing the result simultaneously to see how accurate it is.