This species is commonly found in shallow waters on and near coral reefs and occasionally in brackish waters. Juveniles are typically found in extremely shallow water (±15 to 100 cm) inside lagoons, often swimming along the shoreline; adults typically occur on shallow parts of the forereef, often moving over the reef crest and onto the reef flat at flood tide. Individual adults inhabit a relatively small home range of ±2.5 km2 and appear to reside close to their home reef but occasionally cross deepwater channels between adjacent reefs.
Cyanobacteria do not have skeletons and individuals are microscopic. Cyanobacteria can encourage the precipitation or accumulation of calcium carbonate to produce distinct sediment bodies in composition that have relief on the seafloor. Cyanobacterial mounds were most abundant before the evolution of shelly macroscopic organisms, but they still exist today (stromatolites are microbial mounds with a laminated internal structure). Bryozoans and crinoids, common contributors to marine sediments during the Mississippian (for example), produced a very different kind of mound. Bryozoans are small and the skeletons of crinoids disintegrate. However, bryozoan and crinoid meadows can persist over time and produce compositionally distinct bodies of sediment with depositional relief.
A reef is a bar of rock, sand, coral or similar material, lying beneath the surface of water. Many reefs result from abiotic processes (i.e. deposition of sand, wave erosion planing down rock outcrops, and other natural processes), but the best known reefs are the coral reefs of tropical waters developed through biotic processes dominated by corals and coralline algae.