A mysterious weird-looking sea creature washed up on the shores of a beach in Scotland, baffling locals about its identity.

The creature was first spotted by Caroline Lennon, an East Lothian local, who shared the images on a private group on Facebook.

"I’ve found a few things on the tide line over the years but never found one of those before!" Lennon told the Edinburgh Live about the creature she found on Gullane beach.

Social media users saw the image of the creature and said it looked like a deflated football with a bright blue edge. According to Edinburgh Live, one social media user asked Lennon: "Is the blue bit shell?" She answered saying that: "No, it's squashy like a jellyfish but maybe a bit spongier... Yup, we're feeling a bit unsettled too."

Lennon also said the creature had tentacles tucked in under itself, urging people to help her identify the "kinda gross but kinda cool" animal.

It was later revealed the creature was a sea anemone that had turned itself inside out or had flipped over, Edinburgh Live reported.

According to Britannica, sea anemone are soft-bodied, primarily sedentary marine animals that resemble a flower. They mostly live in brackish waters and feed on fish and other marine animals by capturing and paralyzing them.

This is not the first time a mysterious and bizarre-looking sea creature has washed up on a beach, baffling locals about its origin.

Earlier this month, a sea creature with terrifying teeth was found on a popular beach in Australia. The image of the creature was taken by a woman who spotted it in Noosa. The creature had washed up on a beach in Queensland. "Anyone know what kind of fish this is? I found it washed up on the North Shore this morning," the woman who found the creature wrote as she posted the image on a local community Facebook page. Some Facebook users said it could be a flathead fish, while others guessed it could be the poisonous stonefish. The image of the creature showed its eyes bulging out of the top of the head, with a mouth full of unusually thin teeth. The creature was later identified as a stargazer, also known as a monkfish in New Zealand.

Beach
This is a representational image of a beach. AFP / Angelos Tzortzinis