b2dMeshClipStart

Category: 2D Overlay

Syntax:

b2dMeshClipStart:Int(handle:Int, clip:Int)


Parameters

Returns

First frame of the clip



Summary

The first frame of a named clip. The clip covers b2dMeshClipFrames frames from here, and was baked at b2dMeshClipFPS frames a second. Play it by blending frames in that range with b2dMeshAnimate.

Clips are only as good as the exporter that wrote them; if a clip plays the wrong motion, loop a frame range you have picked instead. An unknown handle or clip returns 0.

View detailed documentation online



Example
Print b2dMeshClipStart(mesh, 0)

See examples/Runtime/30 - Meshes.


BambooBasic © 2026 Michael Denathorn