the radar detector lets you know if your creation has been detected by radar! it gives you directions to the radar (but not the distance) so that you can direct a ballistic missile there!!!
component name - radarDetector

methods:

            local display = getComponents("display")[1]
local radarDetector = getComponents("radarDetector")[1]

local rx, ry = display.getWidth(), display.getHeight()

function callback_loop()
    if _endtick then
        display.clear()
        display.forceFlush()
        return
    end

    display.clear()
    display.fillCircle(rx / 2, ry / 2, rx / 2,       "22ee22")
    display.fillCircle(rx / 2, ry / 2, (rx / 2) - 1, "002200")

    for _, vec in ipairs(radarDetector.getRadars()) do
        display.drawLine(rx / 2, ry / 2, (rx / 2) - (vec.y * (rx / 3)), (ry / 2) + (vec.x * (ry / 3)), "ff0000")
    end

    display.flush()
end