The nail that sticks its head up is the one that gets hit.

把它的头伸出来的钉子就是被击中的钉子。