Comment on page
Motion
Program a sprite's speed and location

Set the X or Y value for the sprite's speed to a particular value.

Change the X or Y value for the sprite's speed by a specific amount.

Get the X or Y value for the sprite's speed.

Set or change the sprite's velocity, by a given amount, in the pointing or moving direction.

Move the sprite to the x and y location specified in the block

Set the sprite's X, Y, Z or Angle value to a specific position.
Change the sprites X, Y, Z or Angle value by a given amount.
Note: Sprite angle is measured in degrees, so should be a value between 0 and 360.

Get the sprite's current X, Y, Z or Angle value.
Note: Sprite angle is measured in degrees, so should be a value between 0 and 360


Get the X, Y, or Angle of the where the user tapped on the canvas
On the canvas, it's possible to make a sprite either draggable or to have it fixed in position.
Similarly, it's possible for other sprites to pass through a sprite, or it can be made impassable.
Finally, if a sprite is moving, it's possible to programatically cause it to stop moving.

Set the draggability or passability of the sprit

Get draggability of the sprite

Stop all sprites that are moving.
When the user clicks on the canvas these blocks will move the
Sprite1
to the location that was touched. 
Last modified 1yr ago