how to draw text on 3d camera?

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

I need to show fps in my 3d fist person game. Is there a way to add label or something similar on 3d camera?

:bust_in_silhouette: Reply From: MrEliptik

You should use a CanvasLayer. Whatever control node you out as a child, will be drawn in top of the viewport. See the documentation Canvas layers — Godot Engine (stable) documentation in English