b2dSetImageHandle

Category: 2D Overlay

Syntax:

b2dSetImageHandle:Void(imageHandle:Int, x:Int, y:Int)


Parameters

Returns

Void



Summary

Sets custom pivot point (handle offset for position, scale, rotation transforms).

Takes imageHandle (image handle from b2dLoadImage or b2dLoadAnimImage, positive integer), x (horizontal offset in pixels, integer, 0=left edge), y (vertical offset in pixels, integer, 0=top edge).

Returns nothing.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn