world_to_screen in godot 4 2D for indicator

Hello, Wanted a indicator for a coin of screen and but the world_to_screen does not exist (needed to convert a point from world coordinates to screen coordinates) , could not find any tutorials or help for this. Closest I got was using chatGPT but hit a wall
Any ideas

As far as I can tell. world_to_screen doesn’t exist. My guess is that ChatGPT suggested an old or incorrect function, or one that exists in another language which is a common occurrence with AI code. I would ask ChatGPT what that function is supposed to do and maybe get it to write out the function for you.

I don’t know how to make such an indicator but I found a couple of links on the subject by searching “Godot off-screen indicator”.