Move a layer across screen in an animation

There’s no built-in tool, but here’s a script that will generate the frames for you: