PEN BLOCKS

Pen blocks are the green colour - coded blocks that control the pen.These blocks are used to draw a trail as the sprite
moves on the stage.The blocks in the Pen blocks category also allow the sprite to change the colour and thickness of lines.
Each pen colour has a different shade that varies from the lightest to the darkest.The pen shade varies from 0 to 100 i.e.,
0 is the darkest and 100 is the lightest shade.

Pen Blocks Usage
clear This block is used to remove all marks made by pen or stamps.
pen down This blocks puts down the sprite's pen and marks the sprite continuously draw a trail wherever it moves.
pen up This blocks pulls the sprite's pen up,so that it does not draw anything.
set pen color to♀️ This block sets the pen's colour to a specified colour.
change pen colour by πŸ”Ÿ This block changes the pen's colour by a specified value.The value ranges from 0 to 100,value=0 means red and value=100 means blue.
set pen color by 0⃣ This blocks sets the pen's colour to a specified value.
change pen shade by πŸ”Ÿ This block changes the pen's shade to by a specified value.
set pen shade to 5⃣0⃣ This block sets the pen's shade to a specifief value.
change pen size by 1⃣ This block changes the pen's size by a specified value.
set pen size to 1⃣ This block sets the pen's size to a specified value.

USING SOUND BLOCKS

These are the pink/magenta colour -coded blocks used to control the the sound and MIDI functions.There are currently 13 sound blocks out of which 11 are stack blocks,and 2 are report blocks.

Sound Blocks Usage
play around area This block is used to play the sound selected from the drop-down list.It plays the selected music and other sound effects during a program and moves to the next block even if the sound is still playing.
play several charecters This block also plays a sound.However,it waits for the sound to finish playing before moving to the next block.
stop all sounds As the name of the block suggests,this block is used to stop all the sounds that sounds that are playing.
play down for beats This block plays a drum sound selected from the drop-down list for the given number of beats.

Learning Computers with Kips
227

Previous page Home Next page