No, Elves aren't immune to Hypnotic Pattern, but their Fey Ancestry racial trait gives them advantage on preserving throws against being charmed, which can aid them resist its outcomes. Each and every creature in the region who sees the sample must produce a Knowledge conserving toss. On the unsuccessful preserve, https://www.youtube.com/shorts/2bqrDoavYZM