Animation in App Lab is not the same (or as easy) as animation in Game Lab because App Lab is event driven, so you can only do animation with the timed loop.
Here is a link to a previous post with more of an explanation (and links at the end with other examples).
In your case, in line 402 of your code, you try to set the position of the spaceship, but there are two problems. One, the “id” needs to be replaced with the id of the element you are wanting to move (the spaceship). Also you are setting it to an absolute position. You will need to think about how to use a variable to change that position for each pass of the timed loop so that position isn’t a static one.
Hopefully that helps a little, but feel free to check back in.
Mike
Mike