Sprite functions are INCREDIBLY simple. You should read the manual to learn.