function init(self) --Start playing the particle effect in component "particles" in this game object: particlefx.play("#particles") -- Animate this object position on Y axis up and down forever go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 600, go.EASING_INOUTSINE, 4) end