Hello, I need help.

So, one night I was laying in bed and I noticed how I started to feel a pressure and a pain in my chest. I also started to feel really uncomfortable and I realized that it's probably panic/anxiety.

After that I began to have this thought that kept replying in my head again and again. This thought loop lasted for about 4-5 hours, I think.

The thought I had wasn't anything bad or negative or triggering. It was literally about a mobile game I was playing earlier. It was about penguins on an island where the penguins work for you, you earn money and expand the island and get more penguins for a higher price on each step. And this concept just keeps repeating. 

This is what was stuck in my head for hours. And I've had this experience with other non-negative thought a couple of times after that as well.

Does anyone know if this has a name? Did anyone else experience a thought loop that wasn't really anything negative? And how can you break out of it?

I've tried researching but haven't really found anything that resembles my experience.

I know that it's not uncommon to be stuck in loops like that when you take psychadelics. But I have never done that. I was completely sober when it happened.

I would appreciate any help. Sorry if I wrote anything unclear or incorrect. English is not my mother language.

&amp;#x200B;

Summary: I was stuck in a thought loop where the thought wasn't negative.