b2dShowProfiler

Category: 2D Overlay

Syntax:

b2dShowProfiler:Void(enable:Int)


Parameters

Returns

Void



Summary

Shows or hides the built-in profiler panel.

Takes enable (True to show, False to hide).

View detailed documentation online



Example
b2dShowProfiler(True)          ; switch it on

If inpIsKeyHit(VKEY_F1) Then
    showing = Not showing
    b2dShowProfiler(showing)   ; or toggle it with a key
EndIf

BambooBasic © 2026 Michael Denathorn