Last updated December 28th, 2018

What you'll learn

  • What Capture blocks do
  • How to use a Capture block
  • How to capture a user's answer into a variable

Video tutorial

What the Capture block does

The Capture block allows you to capture a user's response into a variable. 

For example, you can ask the user what their name is using a Speak block, then follow that up with a capture block to capture the user's name into a name variable. You could then use the user's name throughout the rest of the project.

How to use a Capture block

  1. Get your variable to use ready

    The first step of a capture block is to choose what variable you are going to capture their response into. If you already have a variable in mind, skip to the next step. Otherwise, create a variable by heading over to the variables menu on the far left.
  2. Capturing your variable
    Once we have asked our user the question, it's time to use our Capture block to store their responses in a variable. To do this, open your capture block by clicking to access the menu on the far right. 

Click on the 'Variable name' to access your list of variables. Then, select which variable you would like to store a response to from the drop down menu! 

Once you have your variable selected - that's it! You're good to go and will be able to capture the user's response into a variable.

From here, we can use the variable throughout our project.

Still have questions? Message our team through using the blue bubble in the bottom right corner! 

Did this answer your question?