Sprites
Movement
Control
Interactions
What does this do?
100

What does the 2nd number on the sprite block control?(14, ?, 45, 30)

The sprites Y location (Up and Down)
100

sprite.y=sprite.y+1 means....

Sprite is moving down

100

To control the movement of a sprite or shape you must have this inside the function

If

100

All sprite interactions must happen within this code.

Function

100

sprite.rotation=sprite.rotation-5

The sprite is rotating counterclockwise at 5.

200

sprite.velocityx=-5

The sprite is moving to the left at 5

300

If{keyDown(Space)

    sprite.velocityY=sprite.velocityY+5

}

The Sprite will accelerate downward at 5

400

var bee =createSprite (200,200)

bee.setAnimation (¨bumblebee¨)

sprite.scale (2)

Creates a bee sprite in the middle of the screen and makes it twice as big.

M
e
n
u