Only view selected vertices in UV paint mode?

I went to paint mode in the UV editor after only selecting specific vertices, but for some reason all the vertices always show up, and for some reason they’re also greyed out.

Have you tried to hide polygons or use masking?

That doesn’t do anything. It’s not the yellow/white vertices that show up, like I said, it’s the greyed out ones that do, which also happens to be all the vertices.