```
//drawing the black fill of the wall
draw_sprite_ext(Wall, 0, x, y, 1,1,0, c_white, 1);
//drawing the shadow
draw_set_colour(c_black);
draw_triangle(x,y,x+lengthdir_x(1000,point_lt),y+lengthdir_y(1000,point_lt),x+32+lengthdir_x(1000,point_rt),y+lengthdir_y(1000,point_rt),0)
draw_triangle(x,y,x+32+lengthdir_x(1000,point_rt),y+lengthdir_y(1000,point_rt),x+32,y,0)
draw_triangle(x,y+32,x+lengthdir_x(1000,point_ld),y+32+lengthdir_y(1000,point_ld),x+32+lengthdir_x(1000,point_rd),y+32+lengthdir_y(1000,point_rd),0)
draw_triangle(x,y+32,x+32,y+32,x+32+lengthdir_x(1000,point_rd),y+32+lengthdir_y(1000,point_rd),0)
draw_triangle(x,y+32,x,y,x+lengthdir_x(1000,point_lt),y+lengthdir_y(1000,point_lt),0)
draw_triangle(x,y+32,x+lengthdir_x(1000,point_ld),y+32+lengthdir_y(1000,point_ld),x+lengthdir_x(1000,point_lt),y+lengthdir_y(1000,point_lt),0)
draw_triangle(x+32,y+32,x+32,y,x+32+lengthdir_x(1000,point_rd),y+32+lengthdir_y(1000,point_rd),0)
draw_triangle(x+32,y,x+32+lengthdir_x(1000,point_rt),y+lengthdir_y(1000,point_rt),x+32+lengthdir_x(1000,point_rd),y+32+lengthdir_y(1000,point_rd),0)
//drawing actual walls
draw_sprite_ext(Wall_Left, 0, x, y, 1,1,0, c_white, 1);
draw_sprite_ext(Wall_Right, 0, x, y, 1,1,0, c_white, 1);
//drawing the depth on the block
draw_set_colour(c_white);
draw_text(x+2, y+2, z);
```