Getting Started
2 of 11

This tutorial explains how to use a QR Code in your game.

Add a label to the stage

Block Setup

For this tutorial, we'll start with a sprite that changes the text when it is clicked on. Click on the Blocks tab. Here is the starting block.

QR Code

Get a "scan QR code" block from the sensing drawer and put it inside the "when it is clicked" block.

Set label text

Your QR Code has text associated with it! We want the label to show the QR Code's text. Drag the "set label text" block inside of the "scan QR Code" Block.

Put the "hello" part of the "set label text" block in the trash.

and insert a result from the "scan QR code" block in the missing place of the "set label text" block.

qrReader
000_qrReader