Site icon CAMBRIDGE FACTOR

CODING SYLLABUS GRADE 10

PictoBlox ExtensionsPython FunctionsSyntax
1. Scratch Based Default Extensions1.1 Motionmove()
Syntax: move(steps = 10)
right()
Syntax: right(angle = 15)
left()
Syntax: left(angle = 15)
goto()
Syntax: goto(moveto = “_random_”)
gotoxy()
Syntax: gotoxy(x = 100, y = 100)
setdirection()
Syntax: setdirection(angle = 15)
pointto()
Syntax: pointto()
changex()
Syntax: changex(delta_x = 10)
setx()
Syntax: setx(x = -240)
changey()
Syntax: changey(delta_y = 10)
sety()
Syntax: sety(y = 27)
bounceonedge()
Syntax: bounceonedge()
setrotationstyle()
Syntax: setrotationstyle(rotation_style = “left-right”)
x()
Syntax: x()
y()
Syntax: y()
direction()
Syntax: direction()
Exit mobile version