No, Elves are not immune to Hypnotic Pattern, but their Fey Ancestry racial trait gives them gain on preserving throws against remaining charmed, that may assistance them resist its effects. If the influenced creatures get any damage or use an motion to awaken the creature from its stupor, the spell https://www.youtube.com/shorts/2bqrDoavYZM