Motion
(Redirected from Motion blocks)
Motion is a category that originated from Scratch that allows the control of sprite movement.
Scratch Blocks
move (10) steps
turn cw (15) degrees
turn ccw (15) degrees
go to (random position v)
go to x: (0) y: (0)
glide (1) secs to (random position v)
glide (1) secs to x: (0) y: (0)
point in direction (90)
point towards (mouse-pointer v)
change x by (10)
set x to (0)
change y by (10)
set y to (0)
if on edge, bounce
set rotation style [left-right v]
(x position)
(y position)
(direction)
PenguinMod Blocks
move back (10) steps::motion
move [up v] (10) steps::motion
change by x: (10) y: (10)::motion
point towards x: (0) y: (0)::motion
turn around::motion
if touching (mouse-pointer v), bounce::motion
move to stage [bottom-left v]::motion
Expansion
Motion Expansion is an extension in PenguinMod.
set my home::motion
go to home::motion
move (10) steps towards x: (0) y: (0)::motion
move (10) % of the way to x: (0) y: (0)::motion
turn @turnRight (15) degrees around x: (0) y: (0)::motion
turn @turnLeft (15) degrees around x: (0) y: (0)::motion
if touching x: (10) y: (10), bounce::motion
manually fence::motion
(rotation style::motion)
<touching x: (0) y: (0)?::motion>
<touching rectangle x1: (-100) y1: (-100) x2: (100) y2: (100)?::motion>
Trivia
- Like in Scratch, no motion blocks are accessible through the Stage without tricks.
Motion JS-Code
The Javascript code for all motion blocks is open source and can be found on PenguinMod's Github
v • e Categories Nav | |
---|---|
Vanilla | Motion · Looks · Sound · Variables (Variables · Lists) · Events · Control · Sensing · Operators · My Blocks |