I'm not sure if that one eats coral or not...but nudibranch are very specialized eaters. They only eat one thing, be it coral, anemone, algae....and only one type of whatever it is. They will look like whatever they eat so they can blend into their surroundings.