for simple things like that you can just use the code snippets panel.
but if you want to learn, you can google easeljs animate canvas coding.
(and sorry about that typo, now corrected.)
I didn't know what kind of language it was .
Now, I know it is easelJS.
EaselJS is not the language.
CreateJS is the API suite used by Animate to draw to on an HTML5 canvas element, and for sound and preloading.
EaselJS is just one of the parts of CreateJS.