If a player casts a blue spell, Kraken’s Eye’s ability triggers and is put on the stack on top of that spell. Kraken’s Eye’s ability will resolve (causing you to gain 1 life) before the spell does.

Artwork
Loading artwork…
Kraken's Eye
Magic 2012 · #211 · EN
Nonfoil—Foil—
Card rules
Whenever a player casts a blue spell, you may gain 1 life.
It's seen the wonders of entire worlds trapped in the depths of a bottomless ocean.
Uncommon · Illustrated by Alan Pollack
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The ability triggers whenever any player, not just you, casts a blue spell.