Category: 2D Overlay
Syntax:
b2dMeshFaceCount:Int(handle:Int)
Number of faces
The number of faces in the mesh. Each face has 3 or 4 corners; see b2dMeshFaceCorners. An unknown handle returns 0.
View detailed documentation online
Print b2dMeshFaceCount(mesh)
See examples/Runtime/30 - Meshes.
BambooBasic © 2026 Michael Denathorn