Does the word "trace" have the same definition in the next two sentences?

Trace your path.

Trace the outline of a figure in the sand.
different meanings