Y as a semivowel

The grapheme y at the end words sounds in a different way depending on the number of syllables:

In words with one syllable: the sound /ai/ at the end is spelt with y. 
For example: fly, shy, dry...

In words with more than one syllable: the sound /i/ at the end is spelt with y. 
For example: happy, sunny, funny...