as if by magic

definition: in a magical manner
example:
speech part: adverb
synonyms: magically

How as if by magic is being used?