Click the flag to see the sprite in action. If you want to use this in your own projects, click on "see inside" and drag the "Thomas" sprite from the sprite menu into your backpack. To change the speed, change the time on the "wait _.__ seconds" block. The lower the number, the faster it goes. The higher the number, the slower it goes.
The Thomas sprites are from JamesFan1991 on DeviantArt