There's an e-manual for the game that teaches the very basics of this program. Aside from that most learning comes from experimenting with code on your own, reading other people's programs and understanding how they work, and asking the community right here. If you're looking for a full fledged tutorial on coding, I hear KhanAcademy.org has a fairly good introduction to programming course.