🐱 Scratch Materi 4
Control & Repetition
Membuat Sprite Mengulang Perintah
Making a Sprite Repeat Commands
🎯 Tujuan Pembelajaran / Learning Objectives
🔁 Repeat
🇮🇩 Siswa memahami fungsi repeat untuk mengulang perintah.
🇬🇧 Students understand how repeat is used to repeat commands.
♾️ Forever
🇮🇩 Siswa memahami bahwa forever menjalankan perintah berulang-ulang.
🇬🇧 Students understand that forever runs commands repeatedly.
🧩 Efficiency
🇮🇩 Siswa memahami bahwa repetition membuat script lebih singkat dan efisien.
🇬🇧 Students understand that repetition makes a script shorter and more efficient.
📚 Konsep Dasar / Basic Concepts
🔁 Repeat
repeat digunakan untuk melakukan perintah beberapa kali.
The repeat block performs commands a specific number of times.
♾️ Forever
forever membuat perintah terus dijalankan selama program aktif.
The forever block keeps commands running while the program is active.
⏱️ Wait
wait memberikan jeda sehingga perubahan dapat terlihat satu per satu.
The wait block creates a pause so changes can be seen step by step.
🧩 Scratch Vocabulary
Mengatur bagaimana program berjalan.
Mengulang perintah beberapa kali.
Mengulang perintah terus-menerus.
Memberikan jeda.
Proses pengulangan dalam program.
Urutan perintah dalam program.
💡 Mengapa Menggunakan Repeat?
🇮🇩 Bayangkan kita ingin membuat Sprite bergerak 4 kali. Tanpa repeat, kita harus menulis block yang sama berkali-kali.
🇬🇧 Imagine we want the Sprite to move 4 times. Without repeat, we have to use the same block many times.
Tanpa Repeat / Without Repeat
Dengan Repeat / With Repeat
✨ Repeat 4 berarti perintah di dalamnya dilakukan sebanyak 4 kali.
⬛ Repeat Membuat Pola
🇮🇩 Kita dapat menggunakan repetition untuk membuat bentuk. Perhatikan contoh berikut.
🇬🇧 We can use repetition to create shapes. Look at the example below.
🔎 Sprite melakukan dua tindakan sebanyak 4 kali: move → turn → move → turn...
Hasilnya adalah pola berbentuk persegi.
🖱️ Practice Area — Coba Sendiri!
🇮🇩 Pilih jumlah pengulangan dan jalankan. Perhatikan Sprite bergerak berulang kali.
🇬🇧 Choose the number of repetitions and run the program. Watch the Sprite move repeatedly.
🔁 Repeat
⭐ Challenges — Build Your Script!
🇮🇩 Sekarang kita menggunakan cara yang sudah kita pelajari pada Materi 3: Drag & Drop → Script Area → Run Script → Stage.
🇬🇧 Now we use the method we learned in Lesson 3: Drag & Drop → Script Area → Run Script → Stage.
⭐ Challenge 1 — Repeat the Movement
🇮🇩 Buat Sprite bergerak 4 kali.
🇬🇧 Make the Sprite move 4 times.
⭐ Challenge 2 — Make a Square
🇮🇩 Buat Sprite membentuk persegi dengan menggunakan repeat 4.
🇬🇧 Make the Sprite create a square using repeat 4.
⭐ Challenge 3 — Repeat with Wait
🇮🇩 Buat Sprite bergerak 5 kali dengan jeda.
🇬🇧 Make the Sprite move 5 times with a pause.
⭐ Challenge 4 — Forever
🇮🇩 Buat Sprite bergerak berulang menggunakan forever.
🇬🇧 Make the Sprite move repeatedly using forever.
💡 Dalam simulator ini, forever dibatasi beberapa putaran agar animasi dapat dihentikan dengan aman.
💭 Reflection / Refleksi
Centang pernyataan yang sudah dapat kamu lakukan.
Check the statements you can already do.
📝 Mini Quiz
🚀 Next Lesson
Materi 5 — Variables
🇮🇩 Kita akan belajar bagaimana Scratch menyimpan informasi menggunakan Variables.
🇬🇧 We will learn how Scratch stores information using Variables.
