Show a panel in the center of screen.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By romndesh

Hello everyone!

I want to show a message/dialog that is a Panel in the center of the screen, but I have a KinematicBody2d with a Camera2d as his child node, so, when I try to show up the message, it is not visible into the view of the camera, how can I do that wherever the camera2d is, the message appears at the center of the screen?

The message should appear when I touch an area2d that is not in the center of the screen…

:bust_in_silhouette: Reply From: flurick

See fix an HUD