glowing dots in seaweed, near Deal, Kent

Hi, I was on the beach late last night and saw small glowing dots in the seaweed. They were winking and dimming, reactivating when squeezed slightly. Does anyone know what they were?

Thanks!