Page 80 - Dig_CodeAI_V2.1_Class_4
P. 80
Looks Blocks
Looks blocks are purple in colour and let you modify the Sprite’s costumes and colours. The
Looks blocks display text within pop-up bubbles.
Blocks Functions
say Hello! for 2 seconds This block displays a speech bubble of the Sprite for a specified
amount of time.
say Hello! This block displays a speech bubble of the Sprite.
think Hmm... for 2 seconds This block gives the Sprite a thought bubble with the desired
text which stays for a specified number of seconds.
think Hmm... This block gives the Sprite a thought bubble with the desired
text.
switch costume to costume2 This block changes the appearance of the Sprite by switching
its costume.
next costume This block changes the costume of the Sprite to the next costume
in the costume list.
change size by 10 This block changes the size of the Sprite by the desired
proportion.
set size by 100 % This block sets the size of the Sprite to a specified percentage of
the original size.
change color effect by 25 This block changes the visual effect applied to the Sprite by the
specified amount.
set color effect to 0 This block sets the visual effect to a specified number.
show / hide The show block shows the hidden Sprite.
The hide block hides the current Sprite.
Sound Blocks
Sound blocks are in pink colour. They control sound functions. We can add music to our
Scratch project by using Sound blocks. You can even record your voice and save it.
Blocks Functions
play sound Meow until done This block plays a sound until the complete sound has been played.
start sound Meow This block starts playing a sound.
stop all sounds This block stops all the sounds.
clear sound effects This block clears all the sound effects.
78 DigiCode AI (Ver. 2.1)-IV

