Did I cheat?

So me and my ex are on again and off again and we don't really have a title and we rarely talk to each other because he works so much. I went to this party recently and I danced on this guy that has liked me for about a year now. We started kissing and feeling but there was no sex involved. Did I cheat?