Inductive sensors with selective performance can differentiate between ferromagnetic metals (e.g. iron or steel) and nonferromagnetic metals (aluminum, brass, copper and stainless steel). The functional principle allows contactless and thus wear-free detection and differentiation of objects.