MZ [MZ / SOLVED] Set current FPS in a variable

Hello,
I'm looking for a script-call to get the current FPS into a variable.

I found this for the MV:
https://forums.rpgmakerweb.com/index.php?threads/how-do-you-get-the-current-frame-rate.106533/

But this doesn't work for MZ (I think they changed something in the code).
Anyone have an idea?

PS: Sorry for my bad english.
Graphics._fpsCounter.fps
Thanks, worked! 😀

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/mz-solved-set-current-fps-in-a-variable.128642/