In the films, Loki is depicted as a complex character, often shifting between villain and anti-hero roles. Loki is a fictional character appearing in the Marvel Comics universe, first introduced in Venus #6 in 1949.