The bacterium polymerizes or extends its type IV pili which then anchor their tips to the environmental surface.