Code Editor

Sprites, stage and AI camera extensions — no lesson needed

main.py

Stage

x: 8, y: 8

🧸

Output console

Run your program to see the output.

Sprite & AI library

Sprite

  • sprite.move(steps)
  • sprite.turn_right() / turn_left()
  • sprite.say(text)
  • sprite.go_to(x, y)
  • sprite.set_costume(name)
  • sprite.set_backdrop(name)
  • sprite.x / sprite.y
  • wait(seconds)

Face Detection

  • face.detected()
  • face.count()
  • face.x() / face.y()
  • face.is_smiling()
  • sprite.go_to_face()
  • sprite.cover_face()

Hand & Gesture

  • hand.detected()
  • hand.count()
  • hand.x() / hand.y()
  • hand.gesture()
  • sprite.go_to_hand()

Human Body

  • body.detected()
  • body.x('head')
  • body.y('left_hand')
  • body.left_hand_raised()