A moving platform on a path
By the end you will have a ledge that glides along a path you drew, loops forever, and carries the hero along with it.
What you need
Follows a path and Is overlapping another object are Advanced. Switch to Advanced mode.
| Lift | + Add object โ Library โ Rock. Name it Lift. It must be a sprite, not a tile, because only sprites can follow a path. Draw your own plank in the Sprite editor if you like. |
|---|---|
| Hero | Hero from the library, with Platform (walk and jump). |
| Ground | Grass tiles on each side of a gap. |

Build it
- Click Lift. Under Movement set How it moves to Follows a path.
- Click โ๏ธ Draw the path with the mouse. The toast says "Now drag in the level to draw the path, starting anywhere." Drag from one side of the gap to the other.
- Tick Loop forever and Go back the same way at the end. The lift now shuttles back and forth.
- Want it smoother? Edit Path points. One point per line: across, down, speed.
- Events tab โ + New event โ Hero โ Is overlapping another object โ Lift.
- In the Hero cell choose Set position: X 0, Y โ32, Measured from Lift. Use the Lift's height for the Y number.
- Press โถ Play level. Jump onto the lift and ride it across. Jump again to get off.
WhenHero is overlapping Lift
DoSet position of Hero to (0, โ32) from Lift
How the ride works
Sprites are not solid, so the hero cannot stand on the lift by itself. Instead the rule keeps putting the hero right above the lift, every moment they touch. Gravity pulls the hero down, the rule lifts them up again, and so the hero travels with it. Jumping pushes the hero clear.
Make it yours
- Untick Go back the same way at the end and draw a loop. The lift goes round and round.
- A moving hazard instead: Lava on a path, and Collides with Lava โ lose a life.
- A ferry in a top-down level: gravity Off, a raft on a path, and the same overlapping rule.