How do mangroves stop their seeds from floating away?

 

                       Some mangroves produce seeds that spear themselves into the mud. While the seed is still attached to the tree, a long root emerges. The seed drops like a dart and the root sticks in the mud, anchoring the plant firmly as it develops.

                      The young mangroves trap tidal mud and, in this way, the whole bank of mangroves gradually grows in size.

Picture credit: google