motion_set

Sets the motion with the given speed in the given direction.

Example

motion_set(90,4)

This example will set the object to move at a speed of four pixels per step upwards.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License