How do I check which actor is overlapping?

I want to run special code when an enemy overlaps the hitbox of a spell.