Movement Actions Library


Movement Actions

In any game, movement and position are of paramount importance and so GameMaker Studio 2 has a complete selection of actions to deal with every situation. The two main ways of moving an instance is to either set the actual position (x/y) within the room, or to set a speed/direction vector. The actions shown here cover both methods and you can use the Common Action Assign Variable to directly set the x and y position yourself.

The Movement actions available are as follows:

Set Direction Fixed Set Direction Fixed
Set Direction Variable Set Direction Variable
Set Point Direction Set Point Direction
Set Random Direction Set Direction Random
Set Speed Set Speed
Set Gravity Direction Set Gravity Direction
Set Gravity Force Set Gravity Force
Reverse Reverse
Set Friction Set Friction
Jump To Point Jump To Point
Jump To Start Jump To Start
Snap To Grid Snap Position
Room Wrap Wrap Around Room