Take picture

An action block that takes a picture without user interaction.

The fiber is will pause until the picture has been taken.

If you want the user to control the camera and to take the picture use the Camera start block instead. Cameras support different input arguments, leave them unset, or evaluating to null, to use the default options.

The path can be set to an existing or new file, or to a directory where the file will be placed with an automatic name. The path to the actual JPEG image file saved is assigned to the image file variable.

Note! This block may fail if the camera is in use by another app, or by the “face unlock” feature while the device is locked.

Input arguments

Output variables