a fiddle
To fiddle is to mess around, usually with something fun like a partner or a toy.
He fiddled with her hair while she was trying to focus on her math test.
They fiddled with each other in the back of the classroom.
He fiddled with the remote, and now the TV is on mute.