You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Set target FPS (maximum)
Parameters
Parameter
Default Value
Note
fps
Return value
None.
Notes
Example
raylib.InitWindow800, 600, "My Game"raylib.SetTargetFPS60whilenotraylib.WindowShouldCloseraylib.BeginDrawingraylib.ClearBackgroundraylib.BLACKraylib.EndDrawingendwhile