Isoform A and isoform B are required in glia to regulate the acute sensitivity to cocaine and to continuously maintain the proper blood-brain barrier (BBB) function. A moody-mediated signaling pathway functions in glia to regulate nervous system insulation and drug-related behaviors. Galphai and Galphao, and the regulator of G protein signaling, loco, are required in the surface glia to achieve effective insulation. The components function by regulating the cortical actin and thereby stabilizing the extended morphology of the surface glia, which in turn is necessary for the formation of septate junctions of sufficient length to achieve proper sealing of the nerve cord. Isoform A and isoform B are expressed in the head. Isoform B only is expressed in the body. Expressed in embryonic glial cells that are involved in ensheathment and insulation of the nervous system. Both isoforms are expressed in glia that insulate the larval and adult nervous system. Also expressed in the germ cells, the gut, and the heart. Expressed throughout development and in adults. Mutant flies display an increased sensitivity to cocaine and nicotine exposure. In contrast, sensitivity to the acute intoxicating effects of ethanol is reduced. Belongs to the G-protein coupled receptor 1 family.