Can an American own land (house) in Mexico?

I was told I could buy land but when I die I can not will the land (house) to a family member which is true? What do I need to do before buying?
4 answers 4