Adjustable Speed

This snippet can be used to have a movement speed that can be adjusted – e.g slowing down when poisoned.

The code works the same as the simple movement, however this time the y and x values are changed by a value that can change, called ‘speed’. It is important to note that for the down and left arrow blocks, we have joined a minus sign and the speed, as we move in the ‘negative direction’

The code can be found here:

https://scratch.mit.edu/projects/389541279/

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top