Skip to content

raylib.SetWindowMaxSize

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Set window maximum dimensions (FLAG_WINDOW_RESIZABLE)

Parameters

Parameter Default Value Note
width
height

Return value

None.

Notes

Example

raylib.SetConfigFlags raylib.FLAG_WINDOW_RESIZABLE
raylib.InitWindow 800, 600, "My Game"
raylib.SetWindowMaxSize 1920, 1080

Clone this wiki locally