handling something in a careless or frivolous manner (toying with someone's feelings)
If you toy with food or drink, you do not eat or drink it with any enthusiasm, but only take a bite or a little drink from time to time. She had no appetite, and merely toyed with the bread and cheese
If you toy with an idea, you consider it casually without making any decisions about it. He toyed with the idea of going to China