Muscle contraction. This is the function of MYH6 (myosin heavy chain 6, Ensembl gene identifier ENSG00000197616).