 Andy Heyward (qv) came up with the idea for Inspector Gadget in  1981 while working on _"Dynomutt, Dog Wonder" (1978)_ (qv). He wrote  the pilot episode script himself, which was produced for television  in 1982.