thigmotaxis
The directed movement of an organism along a spatial gradient of mechanical contact with solid surfaces, typically manifested as a preference for maintaining proximity to walls, edges, or boundaries.
GO:0001966 · biological process
Also called: taxis in response to mechanical stimulus · taxis in response to touch stimulus · thigmotactic behavior · wall-following behavior