Creating a radial menu similar to Paragon's

Hi everyone. I’m trying to make a radial menu similar to the one Paragon has for their communication wheel. The way I think it works is that it draws a line from the center of the screen to the mouse position and highlights anything the line overlaps. Does anyone have any advice on how to do this? Here’s an image just in case you have no idea what I’m talking about.