I'm trying to create dialogue boxes for my current project, and I've been using a combination of a Panel to act as a base, a RichTextLabel for the words, and a Polygon2D covering the panel as a sort of sprite for the dialogue box, all connected together so that they move as one. (I might later use an actual sprite for the image, but for the moment a colored block is all I need as the stand-in.) I've been having success with the code associated with the actual dialogue for my dialogue box, but I can't figure out how to move the dialogue box around with the camera. So, at the moment I can place the dialogue box at a fixed place on the map, but I can't figure out how to make the panel fill a specific portion of the current viewport. I drew a terrible picture in Paint to illustrate what I mean.

I will happily accept suggestions on how to do this in the code, in the settings of the node, even alternate methods to the method I am currently doing this. Thank you in advance, I really appreciate the Godot community.