b2dGetFPS

Category: 2D Overlay

Syntax:

b2dGetFPS:Int()



Returns

Int



Summary

Returns the current frames-per-second.

View detailed documentation online



Example
b2dDrawText("FPS: " & ToString(b2dGetFPS()), 10, 10, False, font)

BambooBasic © 2026 Michael Denathorn