Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I know that we can say about an illusion that it' "playing on your mind". Could we describe a con artist as someone who is playing on your confidence?
Con man is a short version of confidence man, or, one who plays confidence schemes.
In other words, they play [a trick/scam/scheme] based on someone's confidence.
Required, but never shown