How can I set a custom FPS?

Is there a way to set a target fps for Babylon.js? I want to change to a low fps to do some testing.

You can try something like this: