Awesome Discovery

Doly reacts with eyes, sound, light, a pause, and speech.

Build a discovery reaction where Doly looks surprised, makes a sound, waits, and says a short message.

Duration 6 min
Level Standard
Progress Not Started
  1. Connect an Eye Expression block under Start block. Choose FEAR as the category and PANICKY as the expression. Keep Start set to previous completed.
  2. Connect a Sound block below it. Choose DOLY as the sound type and SHOCK (3) from the list. Set Start to instant so the sound begins right away.
  3. Connect a Light block below Sound. Choose Both for the side, pick a bright color, and set Start to instant so the light reacts with the sound.
  4. Connect a Delay block below Light. Set the delay to about 2000 ms so Doly pauses before speaking.
  5. Connect a Say block below Delay. Type your own short phrase. You can try: That was awesome! Keep Start set to previous completed so Doly speaks after the pause.

Practice here anytime. Connect a Doly to run your code on the real robot.

Lesson Workspace

Drag and connect blocks to build your program.

Need help?

  • This lesson uses fields on action blocks. The eye expression, sound choice, light side, color, delay time, and spoken text are all fields.
  • Set Sound and Light to instant so they can happen together during the reaction.
  • Use Delay before Say to make the spoken line feel like a final comment, not part of the first surprise.
  • The Say block can use your own short phrase. The lesson example is: That was awesome!

Eye

Eye

Eye blocks control how Doly’s eyes look and move.

Eye Expression

Use this block to change Doly’s eye expression.

Eye Expression: Choose the mood group for Doly’s eyes. Type: Choose the exact animation inside that mood group. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away.

Eye Expression preview Preview coming soon

Sound

Sound

Sound blocks let Doly play sounds or speak words.

Sound

Use this block to play a sound.

Sound Type: Choose the sound category. Play: Choose the exact sound from that category. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away.

Sound preview Preview coming soon

Say

Use this block to make Doly speak.

Say: Write the words Doly should say. The text can be up to 255 characters. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away.

Say preview Preview coming soon

Drive

Drive

Drive blocks control how Doly moves, turns, and reaches positions.

Drive Distance

Use this block to move Doly by a set distance.

Drive: Set how far Doly should move. The distance is in millimeters (mm). 1 inch = 25.4 mm. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away. Modifier Blocks: Drive Direction, Drive Speed

Drive Distance preview Preview coming soon

Rotate Left

Use this block to turn Doly left.

Rotate Left: Set how many degrees Doly should turn left. The angle can be 0 to 359 degrees. from center: Choose how Doly turns. Checked means Doly turns around its center by moving both tracks in opposite directions. Unchecked means one track stays stopped while the other track moves. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away. Modifier Blocks: Drive Direction, Drive Speed

Rotate Left preview Preview coming soon

Rotate Right

Use this block to turn Doly right.

Rotate Right: Set how many degrees Doly should turn right. The angle can be 0 to 359 degrees. from center: Choose how Doly turns. Checked means Doly turns around its center by moving both tracks in opposite directions. Unchecked means one track stays stopped while the other track moves. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away. Modifier Blocks: Drive Direction, Drive Speed

Rotate Right preview Preview coming soon

Direction

Use this modifier block to choose Doly’s drive direction.

Direction: Choose Forward or Reverse. Compatible Blocks: Drive Distance, Rotate Left, Rotate Right, Drive Speed Modifier Blocks: Drive Speed

Direction preview Preview coming soon

Speed

Use this modifier block to set Doly’s drive speed.

Speed: Set how fast Doly drives. The speed can be 1 to 100. Compatible Blocks: Drive Distance, Rotate Left, Rotate Right, Drive Direction Modifier Blocks: Drive Direction

Speed preview Preview coming soon

Arm

Arm

Arm blocks control Doly’s arm positions.

Arm Angle

Use this block to move Doly’s arm to a set angle.

Arm Angle: Set the arm position angle. The angle can be 0 to 225 degrees. Side: Choose which arm should move: Both, Left, or Right. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away. Modifier Blocks: Arm Speed & Brake

Arm Angle preview Preview coming soon

Speed & Brake

Use this modifier block to control Doly’s arm speed and hold setting.

Speed: Set how fast the arm moves. The speed can be 1 to 100. Brake: Choose whether Doly should hold the arm at its final position. “Yes” keeps the arm locked in place. “No” lets it release after moving. Compatible Blocks: Arm Angle

Speed & Brake preview Preview coming soon

Lights

Lights

Light blocks control Doly’s arm light colors.

Light

Use this block to set Doly’s arm light color.

Light Color: Choose the light color. Side: Choose which light should change: Both, Left, or Right. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away.

Light preview Preview coming soon

Time

Time

Time blocks add pauses between actions.

Delay

Use this block to pause the routine.

Delay ms: Set how long Doly should wait before continuing. The time is in milliseconds (ms). The value can be 5 to 60000. 1000 ms = 1 second. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away.

Delay preview Preview coming soon

Loops

Loops

Loop blocks repeat a group of actions.

Repeat

Use this block to repeat actions.

Repeat: Set how many times the actions should run. The value can be 1 to 65535. Start: Choose when this block begins. “previous completed” waits for the block before it to finish. “instant” starts right away. do: Place the action blocks you want to repeat here.

Repeat preview Preview coming soon