The answer is simile.
A simile is a figure of speech that compares two objects by stating that one is similar to the other, in this case it is comparing the person's legs to overcooked noodles; a simile uses the words like or as.
Similes are resources used in literature to make a more rich and vivid description.