2. Code turn ↻ ( 15 ) degrees
Function: Rotate the sprite to the right (clockwise)
The angle can be changed (e.g. 90°, 180°).
3. Code turn ↺ (15) degrees
Function: Rotates the sprite to the left (counterclockwise).
Usually used to control the direction of movement.
4. Kode go to (random position)
Function: Moves the sprite directly to a random position.
No animation (moves straight away).
5. Kode go to x: ( ) y: ( )
Function: Moves the sprite to a specific coordinate.
Example: x = left/right
y = up/down
Useful for determining exact position.
6. Kode glide ( ) secs to random position
Function: Moves to a random position with smooth animation (gliding).
Travel time can be set (e.g. 1 second, 2 seconds).
7. Kode glide ( ) secs to x: ( ) y: ( )
Function: Smooth movement to specific coordinates.
More realistic than “go to”.
8.Kode point in direction ( )
Function: Sets the sprite's facing direction.
Example direction: 90 → right
-90 → left
0 → top
180 → down
9.Kode point towards (mouse-pointer)
Function: Directs the sprite to a specific object.
Can be changed to: mouse-pointer
sprite lain
Often used for games (e.g. enemies following the player).
10.Kode change x by ( )
Function: Changes the horizontal position (X axis).
Positive values → to the right
Negative values → to the left
1. Kode set x to (-43)
Function: Sets the horizontal position (X axis) of the sprite to a certain value.
Example: x = 0 → center of screen
negative x → to the left
positive x → to the right
➡️ So the sprite immediately moves to position X = -43.
2. Code change by (10)
Function: Changes the vertical position (Y axis).
Positive value → up
Negative value → down
➡️ Sprite goes up 10 steps.
3. Code set y to (-61)
Function: Sets the vertical position (Y) to a specific value.
➡️ Sprite immediately moves to Y = -61.
4. Kode if on edge, bounce
Function: Makes the sprite bounce when it touches the edge of the screen.
Usually used for:
Automatic moving object ball game
➡️ The sprite doesn't leave the screen, but bounces back.
5. Kode set rotation style (left-right)
Function: Sets how the sprite rotates.
Options: all around → free spin
left-right → only facing left/right
don't rotate → does not rotate
➡️ Suitable for characters to avoid being upside down.
6.Code x position
Function: Displays the current X position value of the sprite.
`Can be used in scripts (e.g. for conditions).
7. Code and position
Function: Displays the current Y position value of the sprite.
8. Code direction
Function: Displays the direction the sprite is facing (in degrees).
Example: 90 → right
-90 → left
0 → top
180 → down


1. Kode say “Hello!” for 2 seconds
-
The sprite displays a speech bubble for 2 seconds.
2. I said “Hello!”
-
Sprites speak indefinitely (until replaced).
3. Kode think “Hmm…” for 2 seconds
-
Displays a thought balloon for 2 seconds.
4. Think code “Hmm…”
-
Displays thought balloons indefinitely.
5. Kode switch costume to (costume2)
-
Change the sprite costume to a specific costume.
-
Suitable for character animation.
6. Next costume code
-
Change to the next costume in sequence.
-
Usually used for walking animation.
7. Kode switch backdrop to (backdrop1)
8. Kode next backdrop
-
Change to the next background.
9. Kode change size by (10)
-
Change the size of the sprite (enlarge if positive, reduce if negative).
10. Kode set size to (100%)
-
Sets the sprite size to a specific value (default 100%).
11. Kode change color effect by (25)
-
Gradually change the sprite color effect.
12. Kode set color effect to (0)
-
Sets the color effect to a specific value (color reset).
13. Kode clear graphic effects
-
Removes all effects (color, ghost, etc).
14. Code show
-
Shows the sprite (if previously hidden).
15. Code hide
16. Kode go to front layer
-
Brings the sprite to the front layer.
17. Kode go forward (1) layers
-
Advances the sprite one layer forward.
18. Kode costume number / name
-
Displays the current costume number or name.
19. Kode backdrop number / name
-
Displays the current background number or name.
20. Code size
-
Displays the current sprite size.

1. play sound (Meow) until done
-
Play the sound until it's finished.
-
The program will wait for the sound to finish before continuing to the next block.
🔊 2. start sound (Meow)
-
Play sound without waiting for it to finish.
-
The program immediately continues to the next block (the sound continues running).
🔊 3. stop all sounds
-
Stops all currently playing sounds.
🎵 4. change pitch effect by (10)
-
Change the pitch of your voice.
Mark:
-
Positive → higher voice (shrill)
-
Negative → lower (heavy) voice
🎵 5. set pitch effect to (100)
-
Sets the pitch to a specific value.
-
Can be used for special sound effects.
🎵 6. clear sound effects
-
Removes all sound effects (pitch, etc).
-
Returns sound to normal.
🔉 7. change volume by (-10)
-
Change the sound volume.
Mark:
-
Positive → louder
-
Negative → slower
🔉 8. set volume to (100%)
-
Sets the volume to a specific value (0–100%).
-
100% = maximum.
🔉 9. volume
-
Displays the current volume value.
-
Can be used for conditions or monitoring.