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.InitWindow 800, 600, "My Game"
raylib.SetTargetFPS 60
while not raylib.WindowShouldClose
raylib.BeginDrawing
raylib.ClearBackground raylib.BLACK
raylib.EndDrawing
end while