/// @description 

var _xx = round(x_draw);
var _yy = round(y_draw);
var _w = BLOCK_WIDTH-1;
var _h = BLOCK_HEIGHT-1;

if (!active) {
	draw_set_alpha(sin(current_time/3 * (pi/180) mod 360));
	draw_rectangle(_xx, _yy, _xx+_w, _yy+_h, false);
	draw_set_alpha(1);
	exit;
}

var _pad = (current_time div 500 mod 2) + 1;
switch(road_type) {
case ROAD_TYPE.PLACE:
	draw_sprite(spr_arrow, 1, _xx+BLOCK_WIDTH/2, _yy-_pad);
	break;
default:
	draw_rectangle(_xx-_pad, _yy-_pad, _xx+_w+_pad, _yy+_h+_pad, true);
}