Magnet

Magnet, Magnera, and Magnega magic are spells used by Sora, Donald, and other characters and enemies that utilize the element of Darkness.

Magnet is a special type of magic that attracts enemies, orbs, and items towards the Magnetic Orb it creates. As the rank of the magic increases, the orb becomes bigger and more powerful. It is extremely helpful when battling the Grim Reaper in Port Royal. Enemies in the orb continually take damage.

Magnet replaces Gravity in Kingdom Hearts II, its only appearance.

Magnet magic is classified as Advanced Magic.

Kingdom Hearts II
Magnet: Granted after defeating Oogie Boogie in Halloween Town Magnera: Upgraded after defeating the Grim Reaper in Port Royal Magnega: Upgraded after beating Xigbar in the World That Never Was

Enemies that use Magnet Magic

 * Grim Reaper

Helpful hints
When traveling up The Castle that Never Was, an easy way to defeat berserkers and nobodies in general is to use Magnega, jump into the middle of it, and use Firaga.

Trivia
Magnet is the only noted occurrence of Final Fantasy's Blue Magic occurring in Kingdom Hearts, all other spells being, variably throughout the series, White Magic (Cure, Aero, Stop, Reflect) or Black Magic (Fire, Blizzard, Thunder, Gravity). The spells Stop, Reflect, and Gravity, are classed as Time Magic in some Final Fantasy titles.