123 x1 = (w/2 + (11 * math.sin(heading_rad))) y1 = (h/2 - (11 * math.cos(heading_rad))) screen.setColor(255,0,0) screen.drawLine(w/2, h/2, x1, y1)