thigmotaxis

https://doi.org/10.1351/goldbook.12135
Movement of an organism toward or away from a mechanical stimulus, physical contact, or spatial discontinuity, as in movement away from touch by a physical stimulus or exploring close to a wall.
Source:
PAC, 2015, 87, 841. (IUPAC Glossary of terms used in neurotoxicology (IUPAC Recommendations 2015)) on page 912 [Terms] [Paper]