Defold camera extension API documentation

This extension provides a unified, simple to use interface to capture images using the camera on macOS, iOS and Android.


To use this library in your Defold project, add the following URL to your game.project dependencies:

We recommend using a link to a zip file of a specific release.


Refer to the example project.


How do I reset macOS camera permission?

To test macOS camera permission popup multiple times you can reset the permission from the terminal:

tccutil reset Camera

Source code

The source code is available on GitHub

API reference

API Reference - camera