Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_at_player

(view raw script w/o annotations or w/e)
1
function 
scr_at_player
scr_at_player

function
scr_at_player(arg0 = x, arg1 = y)
{ return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2)); }
(arg0 = x, arg1 = y)
2
{
3
    return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2));
4
}