AHud example anywhere?

Is it possible to add a hud to your mod? I want to access the UCanvas class to do some line drawing and I can only seem to do that through a AHud class. I see Satisfactory has a hud for the object scanner but I can’t see the code they use to add this to the screen. I have found examples online but they involve setting the hud in the game mode and I don’t think I have access to that.