bgiGetCanvasMouseX

Category: BGI GUI

Syntax:

bgiGetCanvasMouseX:Int(canvasID:Int)


Parameters

Returns

Int



Summary

Gets the mouse's X in the canvas, or where it last was over the canvas once it has left.

Takes canvasID (Int). This works whichever canvas has the focus.

Returns the X in canvas pixels, or 0 if canvasID is not a canvas.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn