Will to move and form your magic and math to give it instructions unicorns do this by memorizing a spell matrix in their mind and then pushing their magic out of their horns to power the spells in contrast earth ponies and pegasi that use their magic more passively for strength to fly and to hold objects.