If someone remembers a TV movie about a group of people, perhaps a family that are in a cabin but they are surrounded by extraterrestrials. UPDATE I remember it wasn't a comedy it was a kind of horror tv movie or tele-theater. At the end the aliens get into de cabin or the house and their heads glow. I think it was produced late 70´s or early 80s.
The Pod People (1983); MST3K 3x03 (1991)
The Pod People (also known as Extra-Terrestrial Visitors) began as a horror script about an alien terrorizing the members of a rock band trapped in a cabin in the woods. Although "cute" elements — the friendship between a younger alien and a human child — were added to make the film resemble E.T. the Extra-Terrestrial (1982), it retained the horror plot.
The film is perhaps best known for being the subject of a 1991 episode ("Pod People", 3x03) of the television series Mystery Science Theater 3000 (commonly abbreviated as MST3K). MST3K pokes fun at notoriously cheesy science fiction and fantasy films.
The MST3K YouTube channel has a short video about this episode, including clips of the original movie and the episode's framing story:
This might be Alien Abduction: Incident in Lake County. It aired in 1998 on UPN and was a remake of an earlier 1989 "found footage" film, The McPherson Tape. It's not animated. It involves the McPherson family joining for Thanksgiving dinner. The descriptions have a lot of bits about the lights being out, so I assume it's at night. It does have a ray-gun, but it burns people, and involves at least two aliens.