Crayons are a wonderful tool for little ones to express their imagination, and you display their attempts on your refrigerator for ages. But the art on other surfaces around the house is not.
You can't eliminate it the same way, In case you have crayon mashed into the carpet. You should first scrape off all of the crayons you can, either with a side of a blade such as a butter knife.
A piece of cardboard like a part of a cereal box will come in handy. Cut a section and set it behind the clump/spot in which the crayon is, then carefully spray the crayon mark with WD-40 oil, making sure to use the"needle nozzle" tube so the oil doesn't get on more than it needs to. Take a small, stiff bristle brush and work upwards in the nap, while placing the crayon mark on the cardboard. Wipe with paper towels. Spray more WD-40, work in some dish detergent with the brush, then wipe off with a sponge. Move your cardboard so you're always working against a section that is clean. If the stain remains, repeat soap therapy and the oil, then wash the section of carpet with a Shop-Vac or other cleanser.
Did someone use the living room wall for their own canvas? Just take the same can of WD-40 (a car part lubricant) and spray it on the marks, then wipe off with a soft cloth. Treat if there remains a stain, then wash the wall with dish detergent and warm water.