The Sonic the Hedgehog franchise doesn't officially feature any characters who are explicitly identified as gay. Any such portrayals you come across are fan interpretations rather than canon.