Select your desired framerate, then adjust the quality until it runs smoothly. To make your own, draw all frames in the "Frames" sprite.
The built-in animation is something I made a while ago that I thought worked well for an example. HIGHLY SUGGESTED: use Turbowarp to reduce lag: https://turbowarp.org/486815586?fps=0