A method is presented for tracking interfaces, which is MOCL (marker on cell line) employed in two-dimensional Eulerian code. To test it, five kinds of objects with different shapes being uniform motion are numerically simulated in a two- dimensional Eulerian hydrodynamics code that uses the MOCL technique to track interfaces. Results show that the method is simple and feasible.