How to create a circle expanding effect?

How did you accomplish, that the effect spawns at your mouse pointers location?