Set the sprites to starting locations and use a conditional loop with sensing blocks to move the sprite and have it stop at a location of your choice, either another sprite or when touching a color, when the condition becomes true. Purpose: Implement conditional loops that control the repeated actions of a train.
Scratch Encore via UChicago STEM Education & University of Maryland - College Park