igiSetNextWindowPos

Category: IGI

Syntax:

igiSetNextWindowPos:Void(x:Int, y:Int)


Parameters

Returns

Void



Summary

Places the next window opened (igiBegin / igiBeginEx) at x, y - every frame, so the user can't move it away.

Takes x (Left edge, in pixels), y (Top edge, in pixels).

View detailed documentation online



Example
igiSetNextWindowPos(10, 10)
igiBeginEx("HUD", -1, -1, 0, 0, IGI_WINDOW_NOTITLEBAR + IGI_WINDOW_AUTORESIZE)
igiText("Lives: " & ToString(lives))
igiEnd()

BambooBasic © 2026 Michael Denathorn