Heka is the god of magic in ancient Egypt and is also the personification of magic itself.
He is probably the most important god in Egyptian mythology but is often overlooked because his presence was so pervasive as to make him almost invisible to the Egyptologists of the 19th and 20th centuries CE.
Unlike the well-known Osiris and Isis, Heka had no cult following, no ritual worship, and no temples.
Although he is not featured by name in the best-known myths, he was regarded by the ancient Egyptians as the power behind the gods whose names and stories have become synonymous with Egyptian culture.
Heka was thought to have been present at creation and was the generative power the gods drew upon in order to create life.
For the Egyptians, heka or 'magic' was a divine force which existed in the universe like 'power' or 'strength' and which could be personified in the form of the god Heka...his name is thus explained as 'the first work.'
Heka was linked to the creative aspects, considered the seat of one's individual personality, thought, and feeling.