The following figure shows various value of (x,y) respectivly, plooted on the xy-plane


you can set the position of X and Y coordinates by using the following block:

go to x:85y:182 it is used to place the sprite at a given postion fir the values of XandY,respectively
Change x by 10 it is used to change the position of X and change x by - 10 will add-10 points(ord ecrease 10) to the current position of x.
set x to 0
set y to 0
They are used to set tge values of X and Y individually. if the position of X is changed.Y remains unaffected,and vice versa.
Change y by 10 it is used to change the position of y by the give value .so,change y by 10 will add 10 point to the current position of Y and change y by -10 will add -10 point ( or decrease 10) to the current position of Y

you have studied various types of block in the previous class .Let us quickly recapitulate the basic shaped of the block used in Scratch.

Block Function Number of
blocks available
When clicked
Hat Block
This block is used to start a script.It is placed at the top of the scripts These blocks usually have a rounded top and a bump at the bottom. 11

Learning Computers with Kips

224


Previous page Home Next page