How to Make an Object Follow the Cursor in Game Maker

In the Step event, use move_towards_point(mouse_x,mouse_y,2);. Change the final number to adjust the following speed.