move () steps
Move () steps
Images needed
This article needs images or better quality images. You can help PenguinMod Wiki by adding the images or uploading them.
move () steps | |
---|---|
move () steps | |
Block Type | Stack Block |
Category / Extension | Motion |
The move () steps block is a Stack block and a Motion block. When used, it would move the sprite in a specified amount of steps to the direction the sprite's facing.
This block can be useful if you want the sprite to move to where ever you want without having to make complicated methods.
Workaround
There are two ways to make this block:
move back ((-1) * (...)) steps::motion
go to x: ((x position) + (([sin v] of (direction)) * (steps))) y: ((y position) + (([cos v] of (direction)) * (steps)))