motion_set(dir,speed)

dir = Direction instance should begin moving.

speed = Speed the instance should move.

 

This function will move the current instance in the direction dir (see direction) at speed speed. You can use this in the Create Event of a bullet, for example, so as to move it when it's created:

 

motion_set(90,5); //Move bullet up (90) at speed 5

 

Revision #1