<blocksapp="Snap! 6, https://snap.berkeley.edu"version="1"><block-definitions="$camera snap"type="reporter"category="sensing"><commentw="216"collapsed="false">takes a snapshot with the webcam and reports it as a new costume, or zero if the user cancels</comment><header></header><code></code><translations>pt:$camera a imagem actual do vídeo
</translations><inputs></inputs><script><blocks="doDeclareVariables"><list><l>callback</l><l>pic</l></list></block><blocks="doSetVar"><l>callback</l><blocks="reportApplyExtension"><l>mda_snap</l><list></list></block></block><blocks="doWaitUntil"><blocks="evaluate"><blocks="reifyScript"><script><blocks="doSetVar"><l>pic</l><blocks="evaluate"><blockvar="callback"/><list></list></block></block><blocks="doReport"><blocks="reportNot"><blocks="reportEquals"><blockvar="pic"/><blocks="reportBoolean"><l><bool>false</bool></l></block></block></block></block></script><list></list></block><list></list></block></block><blocks="doReport"><blockvar="pic"/></block></script></block-definition></blocks>