Let Ŵ = (V, E) be a connected graph. A vertex i ∈ V recognizes two elements (vertices or edges) j, k ∈ E ∩ V, if d Ŵ (i, j) = d Ŵ (i, k). A set S of vertices in a connected graph Ŵ is a mixed metric generator for Ŵ if every two distinct elements (vertices or edges) of Ŵ are recognized by some vertex of S. The smallest cardinality of a mixed metric generator for Ŵ is called the mixed metric dimension and is denoted by β m. In this paper, the mixed metric dimension of a generalized Petersen graph P(n, 2) is calculated. We established that a generalized Petersen graph P(n, 2) has a mixed metric dimension equivalent to 4 for n ≡ 0, 2(mod4), and, for n ≡ 1, 3(mod4), the mixed metric dimension is 5. We thus determine that each graph of the family of a generalized Petersen graph P(n, 2) has a constant mixed metric dimension.