Slime moulds are not fungi as once thought but completely different organism, they maybe should be among the protozoa group. They start life as a single celled ameaba type, they feed on bacteria and small fungi and often find other similar single bodies to mate with, then producing the slime mould collection, this is called the plasmodium stage. This group can move around feeding as it goes. There are a variety of differing types often bright coloured.The one below is Badhamia foliicola,it comprises of tiny bead-lets on a variety of dead plants or wood. not as common as fuligo septica with is also yellow but with fine spongy mass.
The pink type below is Tubulifera arachnoidea.