Displaying text (a child of CanvasLayer) above an object

Godot Version

4.7.1

Question

First, I know how to display text above an object; just put a Rich/TextLabel.

What I want to do is display text, a child of CanvasLayer, above an object such as the player because simply putting a Rich/TextLabel will look blurred and ugly. The problem is that it’s more difficult than without using a CanvasLayer.

Do I have to get the camera’s position eventually? Thanks in advance.

EDIT: I’m making a 2D game.