Let be a graph. A set of vertices resolves a graph if every vertex of is uniquely determined by its vector of distances to the vertices in . The metric dimension of is the minimum cardinality of a resolving set. By imposing conditions on we get conditional resolving sets.