Category: IGI
Syntax:
igiImageButton:Int(id:String, image:Int, w:Int, h:Int)
Int
A button showing a b2d image.
Takes id (A name for the button, unique within its window), image (A b2d image handle), w (Width (0 = the image's width)), h (Height (0 = the image's height)).
Returns: 1 on the frame it's clicked, otherwise 0.
View detailed documentation online
If igiImageButton("bomb", bombImage, 48, 48) Then UseBomb()
BambooBasic © 2026 Michael Denathorn