A way to control FPS