Cấp độ: beginner 25 phútmin Miễn phí Free Creative Explorer Creative Explorer

Nhân vật Scratch đầu tiên Your first Scratch character

Nhân vật biết chào và di chuyển A character that greets and moves

Bạn sẽ học gì What you will learn

  • Tạo sprite và thêm backdrop Create a sprite and add a backdrop
  • Dùng khối when flag clicked Use when flag clicked block
  • Lập trình nhân vật nói và di chuyển Program character to speak and move

Bạn sẽ tạo gì What you will build

Nhân vật biết chào và di chuyển A character that greets and moves

Code mẫu Sample code

scratch
when flag clicked
say "Xin chào! / Hello!" for 2 seconds
move 100 steps
turn 15 degrees