A repository of GML scripts I've made.
draw_sprite_anchored_ext(spr_cat,0,x,y,image_xscale,image_yscale,image_angle,image_blend,image_alpha,0.5,0);Assuming that spr_cat has its origin set to middle center, this draws the sprite as if it were anchored on middle right.
var path = program_directory + "test.json";
data = read_and_parse(path);