A novel humidity sensor based on MXene (Ti3C2) combined with Ag nanoparticles was prepared in this paper. Owing to high surface-to-volume ratio and outstanding hydrophilicity of sensing film, the humidity sensor shows ultrahigh sensitivity. Moreover, this kind of sensor exhibits fast response speed which can detect human breath. Meanwhile, with a 7×7 sensor array, hand gesture can be tracked without direct contact of these sensors by hand which provides an unique approach for human–machine interaction without using machine vision.