b2dGetAnimFrameAmount

Category: 2D Overlay

Syntax:

b2dGetAnimFrameAmount:Int(imageHandle:Int)


Parameters

Returns

Int



Summary

Queries animation frame count (returns calculated frameCount from b2dLoadAnimImage).

Takes imageHandle (image handle from b2dLoadAnimImage, positive integer).

Returns frame count (positive integer, 0 if invalid or not animation).

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn