Forensic Medicine

True about cadaveric spasm is?