b2dMeshFrameCount

Category: 2D Overlay

Syntax:

b2dMeshFrameCount:Int(handle:Int)


Parameters

Returns

Number of animation frames



Summary

The number of animation frames stored in the mesh. A static mesh has 1. Frames are numbered from 0, and any two can be blended with b2dMeshAnimate. An unknown handle returns 0.

View detailed documentation online



Example
Print b2dMeshFrameCount(mesh)

See examples/Runtime/30 - Meshes.


BambooBasic © 2026 Michael Denathorn