There is one game object containing the logo sprite. It is set at Z position 0. The green spaceship is another game object containing a sprite. It is set at Z position 0.5. The pink spaceship is another game object containing a sprite. It is set at Z position -0.5.
z_order.script
function init(self)
go.animate(".", "position.x", go.PLAYBACK_LOOP_PINGPONG, 600, go.EASING_INOUTSINE, 3) -- <1>
end
--[[
1. Animate the game object's ("." is shorthand for the current game object) x position between
start position and 600.
--]]