-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetWindowPosition
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get window position XY on monitor
None.
| Condition | Return Value |
|---|---|
| (always) | list |
raylib.InitWindow 800, 600, "Window Position Demo"
while not raylib.WindowShouldClose
raylib.BeginDrawing
raylib.ClearBackground color.white
pos = raylib.GetWindowPosition
raylib.DrawText "Window at: " + pos[0] + ", " + pos[1], 10, 10, 20, color.black
raylib.EndDrawing
end while
raylib.CloseWindow