Triggerfishes are about 40 species of often brightly colored fish of the family Balistidae. Often marked by lines and spots, they inhabit tropical and subtropical oceans throughout the world, with the greatest species richness in the Indo-Pacific. Most are found in relatively shallow, coastal habitats, especially at coral reefs, but a few, such as the oceanic triggerfish (Canthidermis maculata), are pelagic. While several species from this family are popular in the marine aquarium trade, they are often notoriously ill-tempered. The largest member of the family, the stone triggerfish (Pseudobalistes naufragium) reaches 1 m (3.3 ft), but most species have a maximum length between 20 and 50 cm (8–20 in). Triggerfish have an oval-shaped, highly compressed body. The head is large, terminating in a small but strong- jawed mouth with teeth adapted for crushing shells. The eyes are small, set far back from the mouth, at the top of the head. The anterior dorsal fin is reduced to a set of three spines. The first spine is stout and by far the longest. All three are normally retracted into a groove. Characteristic of the order (Tetraodontiformes), the anal and posterior dorsal fins are capable of undulating from side to side to provide slow movement and comprises their primary mode of propulsion. The sickle-shaped caudal fin is used only to escape predators. The two pelvic fins are overlaid by skin for most of their length and fused to form a single spine, terminated by very short rays, their only external evidence. Gill plates opercula, although present, are also not visible, overlaid by the tough skin, covered with rough, rhomboid scales that form a stout armor on their bodies. The only gill opening is a vertical slit, directly above the pectoral fins. This peculiar covering of the gill plates is shared with other members of the Tetradontae. Each jaw contains a row of four teeth on either side, while the upper jaw contains an additional set of six plate-like pharingeal teeth. As a protection against predators, triggerfish can erect the first two dorsal spines: The first (anterior) spine is locked in place by erection of the short second spine, and can be unlocked only by depressing the second, “trigger” spine, hence the family name “triggerfish”. With the exception of a few species from the genus Xanthichthys, the sexes of all species in this family are similar in appearance. The rather bizarre anatomy of the triggerfishes reflects their typical diet of slow-moving, bottom dwelling crustaceans, mollusks, sea urchins and other echinoderms, generally creatures with protective shells and spines. Many will also take small fishes and some, notably the members of the genus Melichthys, feed on algae. A few, for example the redtoothed triggerfish (Odonus niger), mainly feed on plankton. They are known to exhibit a high level of intelligence, and have the ability to learn from previous experiences. Some triggerfish species can be quite aggressive when guarding their eggs. Both the picasso (Rhinecanthus aculeatus) and titan triggerfish (Balistoides viridescens) viciously defend their nests against intruders, including scuba divers and snorkelers. Their territory extends in a cone from the nest toward the surface, so swimming upwards can put a diver further into the fishes' territory; a horizontal swim away from the nest site is best when confronted by an angry triggerfish. Unlike the relatively small picasso triggerfish, the titan triggerfish poses a serious threat to inattentive divers due to its large size and powerful teeth.