🟧 Input Camera

🟧 Input Camera


Input Camera


The Input Camera block lets the player take a photo with their device's camera, directly inside the story. It's a simple way to add a visual interaction, no coding needed.


This block is reserved for Business subscriptions.


πŸ“₯ Entries


  • placeholder (Text): the example text shown before the photo is taken, to guide the player (e.g.: "Take a photo of your character").
  • Incoming Stream: this block activates as soon as it receives an incoming stream, with no other required setting.


πŸ“€ Outings


  • Outgoing Stream: signal sent once the photo is ready, to continue the story.
  • image (Image): the photo taken with the camera, usable directly by other blocks (for example to display it).
  • text (Text): a text linked to the image, if the engine provides one (for example an automatic description).


πŸ’‘ Example of use


Scenario: creating a custom avatar


  1. The player arrives on the character creation screen.
  2. The Input Camera block shows the placeholder "Take a photo of your face".
  3. After allowing camera access, the player takes a photo.
  4. The image output is sent to an Image Display block to show the avatar.
  5. The Outgoing Stream continues to the rest of the story.


βš™οΈ Technical Details


  • Permissions: this block needs camera access permission. Without it, the capture will not work.
  • Compatibility: works in the browser (PWA recommended) and on mobile (iOS/Android). Requires a Business subscription.
  • Storage: the image is handled automatically in memory and can be used directly by other blocks, with no technical manipulation needed.



Documented version: v1

Updated on: 06/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!