How to make player not move too close to walls when using move to

I heard about something called a navmesh modifier that doesnt physically block anything but changes parts of the navmesh to be more or less navigable than normal.