Tile: What intensity or magnitude does an earthquake have to have to cause damage?

What intensity or magnitude does an earthquake have to have to cause damage?