Variables and logic

Uncover a mystery picture with right answers

Hide a photo under four coloured tiles and give each tile a visibility rule, so every right answer lifts one tile and students race to see who's hiding.

Level
Beginner
Time
About 15 min
Steps
9
Updated
Nov 21, 2026
What you'll build

A "Who is hiding?" scene where four math problems each lift a tile off a photo of a red panda, and the ending names the animal.

Ready-made activity

Get the finished activity

Skip straight to the result, or keep it open beside the steps. Add this tutorial's activity to your account and explore how it works in the studio.

A page of practice problems feels different when every right answer shows a little more of a secret picture. Students want the next answer, because they want to see who's hiding.

In this tutorial you'll build a Who is hiding? scene. A photo of an animal sits under four coloured tiles. Next to it are four math problems, and each tile has a rule that hides it as soon as its problem is right. A wrong answer leaves the tile where it is. When all four are right, the animal is in full view, the scene waits three seconds so students can look, and the ending tells them what it was.

The whole trick is one setting on each tile: a Conditional visibility rule that says "hide me when this answer is correct". You don't need a variable, a button, or a behavior.

Step 1: Set the scene

Start from scratch: click New activity, name it Mystery animal, then choose A blank activity and Build the first scene.

Give the Opening Scene a background: in the scene's Background section, choose a style and pick Lagoon gradient from Gradients. A soft gradient keeps the coloured tiles and the dark problem text easy to read.

Then add two text widgets at the top:

  1. A Heading: Who is hiding?, at about 44 px.
  2. A Body under it: Solve each problem. Every right answer lifts a tile., at about 22 px.
The Opening Scene on a teal-to-blue gradient with the heading Who is hiding? and the line Solve each problem. Every right answer lifts a tile.
Tell students the game in one line.

Step 2: Add the mystery photo

Add an Image widget and name it Mystery photo (click its name at the top of the properties panel). In Image Source, search the stock photos for red panda and insert one you like. In Style & Layout, make it 350 × 350 and set the fit to Cover, so the photo fills the square without stretching. Drag it to the left side of the scene, under the instructions.

Now open Accessibility and replace the Alt Text. The studio fills it with the photo's file name, and a screen reader would read that out, name and all. Write it as a clue instead: A mystery animal with reddish fur, a white face and a bushy, striped tail. A student using a screen reader can't see the tiles lift, so the clue gives them the same puzzle in words, and the ending gives them the answer.

The red panda photo selected on the scene, with the Accessibility section open and the alt text starting A mystery animal with reddish fur
Write the alt text as a clue, not the answer.

Step 3: Cover a corner with a tile

Each tile is a Shape. Add one now, after the photo, so it sits on top of it.

  1. Add a Shape. In the window that opens, choose Rectangle and click Save.
  2. In Style & Layout, make it 180 × 180.
  3. Drag it over the top-left corner of the photo.
  4. Set its Fill Color to yellow (#FFD454), its Stroke Color to white, and its Stroke Width to 6. The white outline gives each tile a clean edge against its neighbours.

Rename it Tile 1. Naming the tiles now makes the rules in Step 6 much easier to check.

Four tiles of 180 cover a 350 photo with a little to spare.

Step 4: Copy it for the other three corners

With Tile 1 selected, press ⌘ D (Ctrl + D on Windows) to copy it. Drag the copy over the top-right corner, rename it Tile 2, and change its Fill Color to blue (#4EA7DA). Do the same twice more:

TileCornerFill Color
Tile 3bottom-left#F48CB1
Tile 4bottom-right#88DFA9

The photo is now completely hidden.

The scene with the photo covered by four tiles in yellow, blue, pink and green, each with a white outline
Nothing of the animal shows yet.

Step 5: Add the four problems

Each problem is a Subheading with the question and a Number Input for the answer.

  1. Add a Subheading with the text 8 + 5 = at about 36 px, and put it to the right of the tiles.
  2. Add a Number Input and click ⚙ Configure. Type 13 in Correct Value, turn off Show Step Buttons so students type the answer, and type ? in Placeholder so the empty box reads as a question. Click Save.
The Number Input 1 window with Correct Value 13, Tolerance 0, Show Step Buttons hidden, and the placeholder ?
Leave Tolerance at 0, so only 13 counts.

Rename the Number Input Problem 1, set its Font size to 26 and its width to 130, and drag it next to 8 + 5 =.

Copy both widgets with ⌘ D for the other three problems. For each copy, change the Subheading's Text in the properties panel, rename the Number Input, and change its Correct Value in ⚙ Configure:

SubheadingNumber InputCorrect Value
9 + 6 =Problem 215
7 + 7 =Problem 314
12 − 4 =Problem 48
The scene with four tiles on the left and four problems on the right, 8 + 5, 9 + 6, 7 + 7 and 12 − 4, each with an empty answer box showing a question mark
Copies keep the font, size and settings, so only the numbers change.

With four questions on the scene, the Progression section shows Mark this scene correct when. Leave it on All: the scene is done when every answer is right, which is also when the photo is fully uncovered.

Step 6: Hide each tile when its answer is right

Select Tile 1 and open Visibility:

  1. Set Mode to Conditional.
  2. Set Behavior to Hide.
  3. In the condition, pick Number Input: Problem 1, then Is correct.
One rule per tile: hide when its answer is correct.
The Visibility section with Mode Conditional, Behavior Hide, and the condition Number Input: Problem 1, Is correct
Read it as a sentence: hide this tile when Problem 1 is correct.

Give the other tiles the same rule, each with its own problem: Tile 2 hides when Problem 2 is correct, Tile 3 when Problem 3 is, and Tile 4 when Problem 4 is.

In the studio, each tile with a rule gets a small Hidden by rule tag. The tags are only there for you; students never see them. The tiles stay visible while you edit, so you can keep arranging them.

The scene with all four tiles showing Hidden by rule tags, next to the four problems
A Hidden by rule tag means the tile has a rule. Students don't see it.

Step 7: Give students time to see the picture

When the last answer is right, the scene is correct and Berdee moves on to the ending, by default after 600 ms. That's too quick to enjoy the picture you just uncovered.

Click an empty part of the canvas to select the scene, open Progression, and click Show more options. Set Advance delay to 3000, which is three seconds.

The Progression section with Next, All and Continuous selected, and Advance delay set to 3000 ms
Three seconds is long enough to look, and short enough to keep the pace.

Step 8: Name the animal on the ending

Open the Closing Scene and give it the same Lagoon gradient, so the ending matches.

  1. Change its headline to It was a red panda!
  2. Add a Body under the score with a fact to finish on: Red pandas live in mountain forests and sleep high up in the trees.

The score box is already there. It shows how many of the four the student got right.

The Closing Scene with the headline It was a red panda!, the score box, and the line Red pandas live in mountain forests and sleep high up in the trees.
The ending gives the answer, for every student.

Step 9: Preview it

Click Preview and play the scene like a student. Try a wrong answer first: type 12 for 8 + 5. Nothing happens, and the yellow tile stays put. Change it to 13 and the tile disappears.

Every right answer lifts a tile.
Preview with 12 typed for 8 + 5 and all four tiles still covering the photo
A wrong answer keeps its tile.
Preview with 13 and 15 typed, the top two tiles gone and the red panda's face showing above the pink and green tiles
Two right answers, and the animal is already peeking out.
Preview with all four answers right and the whole red panda photo uncovered
All four right: the scene holds for three seconds before it moves on.
The ending in Preview with It was a red panda!, Your score 4/4, the red panda fact, and confetti
The ending names the animal and shows the score.

What you built

A mystery-picture scene that rewards every right answer:

  • a photo with alt text written as a clue,
  • four Shape tiles on top of it, each with a Conditional visibility rule, Hide when its Number Input Is correct,
  • four problems that make the scene correct only when All are right,
  • an Advance delay of three seconds, so students can see the whole picture, and
  • an ending that names the animal and shows the score.

Swap in any picture and any questions: a landmark under four geography questions, a book cover under four vocabulary words, a planet under four science facts. For more tiles, use smaller shapes and more problems; one rule per tile still does all the work. To show something when a student needs help instead, see Show a hint after two wrong tries.

Take it with you

Make this activity yours

Add the activity you just watched being built to your account, then change it for your class: your questions, your pictures, your colors.

Was this tutorial helpful?

Next tutorial