Skip to Content
defold-typescript libraries
defold (official)

defold/extension-automation-bridge

A debug-only native extension that exposes a local HTTP bridge for inspecting and controlling a running game: scene and element queries, input with receipts, screenshots and optional desktop video recording. A bundled Python wrapper drives the bridge, and an opt-in automation_bridge Lua module lets scripts call publish, emit, command and annotate.

Lua API not typed — upstream ships no .script_api, so resolve skips it.

  • GitHub: defold/extension-automation-bridge — pinned to 2.3.2 (released while Defold 1.13.1 was current)
    1. Pick a release from defold/extension-automation-bridge releases and add its Source code (zip) URL (or a packaged .zip asset, if the library ships one) to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Install the Python wrapper with the extension's install.py.
    3. Inspect scenes, send input and take screenshots; these need no Lua setup.
    4. Set application_api = 1 under [automation_bridge] in game.project to enable the Lua module.