Category: 2D Overlay
Syntax:
b2dCopyImage:Int(imageHandle:Int)
Int
Creates deep copy of image (GPU->CPU->GPU, fully independent duplicate).
Takes imageHandle (source image handle from b2dLoadImage/b2dLoadAnimImage, positive integer).
Returns new image handle (positive integer for copy, 0 on failure).
View detailed documentation online
Local copiedImage:Int = b2dCopyImage(sourceImage)
BambooBasic © 2026 Michael Denathorn