We uncovered that the RhoA-myosin II pathway may underlie the YAP enhanced negative durotaxis of melanoma cells. Here, YAP1 is linked to melanoma.