Skip to content

raylib.SetWindowMonitor

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Set monitor for the current window

Parameters

Parameter Default Value Note
monitor

Return value

None.

Notes

Example

// Move the window to the second monitor (index 1)
if raylib.GetMonitorCount >= 2 then
    raylib.SetWindowMonitor 1
end if

Clone this wiki locally