Fundamental

UI Button

Exercise pointer focus, hover, and button interaction in the browser host. Browser-v0 gates enabled audio until the first game interaction; capture remains disabled and storage is session-only.

Loading runtime…Downloading Python/browser runtime and starting the first frame.
Click the game to focus controls
Audio unlocks on first game interaction when enabled

Public V0 is validated primarily in Chromium desktop. If the runtime fails, try Restart, then open the browser developer console and include the error with the linked source when reporting an issue.

Docs Source

Build provenance

Tatuy
0.1.0
Bridge
pygbag 0.9.3
Python
3.12.16
Build
c9ba3eae
Source
examples/fundamentals/020_ui/003_button
Commit
81a78dd425e9