Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_action_move_point

(view raw script w/o annotations or w/e)
1
function action_move_point(argument0, argument1, argument2) //gml_Script_action_move_point
2
{
3
    var xx = argument0
4
    var yy = argument1
5
    if global.__argument_relative
6
    {
7
        xx += x
8
        yy += y
9
    }
10
    move_towards_point(xx, yy, argument2)
11
}