[id] = CreateAnim(id, brush, width, height, frames, fpr[, sx, sy])
idargument, this function will choose a vacant identifier for this animation automatically and return it to you. The single frames will be read from the specified brush and will be put together in a new animation. You need to specify the width and height of the frames as well as the number of frames to read from the brush and how many frames are in one row. Optionally, you can define a position from where in the brush the conversion shall start.
If the source brush is transparent, the new animation will also have transparent areas. If the source brush uses an alpha channel, the animation will get an alpha channel, too.