From the Kingdom Hearts Wiki: A world of information not accessible by Gummiship
In Kingdom Hearts II, Auto Assault is an action ability exclusive to Final Form. It enables Sora to automatically utilize his Keyblades telekinetically in a variety of different situations: when he uses an item, jumps, lands, glides, gets knocked into the air, or activates Aerial Recovery, Soras Keyblades will spin to attack on their own, damaging enemies on contact and deflecting projectiles. If Sora uses Glide to hover above the ground stationary, Sora's Keyblades do not attack enemies but they automatically deflect incoming projectiles.
Learning Auto Assault
Kingdom Hearts II