igiCloseCurrentPopup

Category: IGI (in-game GUI) — Trees, tabs and menus

Syntax:

igiCloseCurrentPopup:Void()


Parameters

None



Returns

Nothing



Summary

Closes the popup whose contents are being drawn - call it between igiBeginPopup... and igiEndPopup.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.



Example
If igiButton("Close") Then igiCloseCurrentPopup()

BambooBasic © 2026 Michael Denathorn