If an allele codes for a version of a trait that will mask its other version, the allele that shows is it recessive or dominant

If an allele codes for a version of a trait that masks its other version, the allele that shows is dominant.