Back to Real Objects
Code Studio · Level 7

Object Builder

Make your own hero object, then pass it into a function. The function reads the object's properties and your character card snaps together.

20-25 min Ages 9-12 Builder JavaScript
Code Editor

Build a profile card.

Example code
let hero = {
  name: "Nova",
  tool: "debug wand",
  level: 3
};

function showHero(character) {
  say(character.name + " carries a " + character.tool);
  say("Level " + character.level);
}

showHero(hero);
🧩 Tap to add code blocks — they snap into the right spot
Name your hero Nova, Bolt, Kai, Milo, Wizard, Knight, Dragon, Unicorn, Cat, Dog for a matching avatar. wand/magic star shield
Mission Control

Your Hero Card

Run your code to build the card…

Waiting for your object…