If you are using Game Maker, create a sprite and use the insert empty option to add a frame. Edit that frame, and the animation will cycle through the frames at the room speed, commonly thirty frames per second.