This doesn’t seem like it’s exactly what I want from what I can tell. I don’t want it to be based on the position at all nor the distance to other objects. I just want to get the edges of a mesh and mask them out.
This did however give me ideas for other things!