"world grid" of the 2D window

Godot Version

4.2.2 or New

Question

There is 1 green line every 10 centimeters or 100 pixels, just like the “world grid” of the 2D window, which can be placed in “camera” or “polygon2D”,
The advanced result is the ability to control “line width” and “every 100 pixels is bluer than every 1000 pixels”.

What’s the question? Are you trying to make a grid? Is there a bug?