draw_set_color(c_black); //draw_set_alpha(0.25); //draw_circle(x,y,5,false); //draw_set_alpha(1); var worldMat = matrix_get(matrix_world); //this is the location of where i want to draw from !!! var worldMat2 = matrix_build(x,y-6,0,50,0,0,0.6,0.6,0.6); matrix_set(matrix_world,worldMat2); image_blend = c_white; if marked image_blend = c_red; if waiting image_blend = c_grey; var tempx = x; var tempy = y; x = 0; y = 0; draw_self(); //draw_sprite_ext(sprite_index, image_index, x+sprite_width/2, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); x = tempx; y = tempy; //log(data); draw_set_color(c_red); draw_rectangle(0-ts.x/2, 0-sprite_height+5, 0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)), 0-sprite_height+7, false ); draw_set_halign(fa_center); draw_text(0, -6-sprite_height-20, data.hp.val); //draw_set_color(c_red); draw_set_halign(fa_left); //draw_circle(x, y, 5, false); matrix_set(matrix_world,worldMat);