Sleepwalk

A sleepwalk is a type of behavior in which a person performs a repetitive form of activity while still in a sleeping state. The person may or may not remember anything of what they have done while in a sleepwalk.

Mainstream Smurfs Media
In the Smurfs cartoon show episode "Sleepwalking Smurfs", Gargamel uses Madame Trilby's magic flute to try luring the Smurfs toward him while they are sleeping, causing them to sleepwalk in the process. Papa Smurf figures out what's going on and wakes up his little Smurfs during their sleepwalk to get them to recognize that they are being lured toward whoever was playing the tune. Eventually, Madame Trilby puts a stop to Gargamel's attempts by using her own flute to make Gargamel injure himself while sleepwalking through the forest.