Did I make the right decision?

I met a beautiful girl at a 2-day festival a few days ago and on the second day we really vibed, danced and even painted eachothers bodies.
I just know, we had something great and cared lots, but when I asked if she had a boyfriend she said she did and I just smiled, kept on dancing and said "Okay so, we're friends", I saw her expression turned to a bit troublesome and we fell to silence for a while.
I then realized even if I wanted to be able to be friends I needed space and to look for another, so without a word I left to find other people on the festival. I didn't find much and ended up going back to camp (which she was a part of).

The next late morning (pack-up/leaving-day) she asked where I went and then countered to say she had gone to sleep after I left. I was mute in regret for leaving, assuming I had been too quick in leaving.
A while later I thanked the camp and asked to hug them all, when I came to hug her she thrust herself into my arms and hugged me real tight, I tried not to read into it because that's what I usually do and I struggle to balance intuition and rationality. Though in my mind I want to believe, I struggle to know what's right.
Then later as everyone was packing up their tents and stuff, she was standing behind me, took a step forward as if to make a move then quickly stepped back, I froze.

I never did ask for her number in the end, I was too scared to decide for myself what to do. If it was the right thing to let her go despite her signs or if I should have leaned more on my emotions to take charge.

Now she's gone. I don't think I'll find her again, I've searched socialmedia but to no avail. It's lost..

If I could go back I would not do it like this.. I would have stood up for my emotions and asked her to stay for a while. I would at the very least have taken her number.. even if it might've been the wrong thing.

But the question remains.. did I do the right thing?
Did I make the right decision?
Post Opinion