b2dClearCycles

Category: 2D Overlay

Syntax:

b2dClearCycles:Void(imageHandle:Int)


Parameters

Returns

Void



Summary

Stops and removes every palette cycle on the image.

Takes imageHandle.

Returns nothing.

The palette is left wherever the rotation had reached. To put the colours back as they were, follow this with b2dResetPalette.

View detailed documentation online



Example
b2dClearCycles(img)
b2dResetPalette(img)      ; and put the colours back too

BambooBasic © 2026 Michael Denathorn