<human>: Can you condense the text into a few key points?

One of my closest friends (M/21) broke up with his girlfriend of 1.5 years a few months ago. This girlfriend has been a very close friend of mine for 3-4 years. I basically set them up in the first place.

They decided to not communicate to each other at all for six months, which basically means till October this year.

Meanwhile, due to fortunate timing, both me (M/21) and the girl (F/21) moved to a different city together - me for an internship, her for a degree. We went out on a weekend getaway with a third female friend, and got a hotel room.

While hugging and sleeping on the same bed(which is normal for us), we both suddenly felt attracted to each other and ended up kissing and cuddling and a bit more. No sex. Both of us were extremely turned on by the whole act while fighting the feeling that this was wrong.

Now, in the morning, we decided to pretend this never happened, because we are all in the same social circle and sleeping with my best friend's ex is a strict no no, and she agreed.

While that is all good, I can't seem to get over how amazing being with her was. I have decided to never, ever pursue her sexually again, but I can't seem to stop thinking about how cool it would be if we could keep doing that without consequences (best friend finding out and being hurt etc).

How do I stop feeling this and convince myself that it'll never happen again? I love her as a friend and would really like to always have this friendship, but I keep thinking about her and how she is also attracted to me, and I keep thinking about the possibilities if she wasn't off bounds.
<bot>: Fooled around with longtime friend who is also best friend's new ex - can't stop being attracted to her after deciding to ignore that it happened.