Nonsense mutations make stop codons. If the mutation is towards the beginning of a gene, then the protein that gets created will be cut short and not function properly. But if it was towards the end, there is still a chance that the protein will still be able to work.