> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/camera.md).

# Camera

With the camera component, you can open up your phone’s camera to take a picture.

{% embed url="<https://youtu.be/yG9mdhn70w4>" %}

## Blocks

### Take Photo

![](https://689802330-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAn5scXl2uqUJUOqkJo%2F-MYdV4i6gDPD-nGXqHT1%2F-MYdW-74mvgM1S0wm5Es%2FScreen%20Shot%202021-04-19%20at%2010.44.02%20AM.png?alt=media\&token=35eca82e-f551-46b4-983f-291cbb9f2a8e)

| Output Name   | Data Type  | Function                                            |
| ------------- | ---------- | --------------------------------------------------- |
| Photo         | image      | if a photo was taken, returns the photo             |
| DidUserCancel | true/false | returns whether the user cancelled taking the photo |
| Error         | text       | if there was an error, returns the error            |
