Ask about disappears and becomes a spot

Disappears and becomes a spot like in the picture.
I want to implement it with my noclip.
What command do I have to use?

So, do you want to make your ped invisible for others but visible for you?

You can use: SetLocalPlayerVisibleLocally(true);

Otherwise you could use:

Isn’t exactly like the picture with the dots but kinda similar