                     ))
                     e.release()
 
+            tiles.push shape
+            @appendChild shape
 
-            layer.appendChild shape
-
-        @appendChild layer
+    flyOut: (tiles) ->
+        duration = .3
+        for tile in tiles
+            tile.runAction(new lime.animation.MoveTo(0, tile.getPosition().y).setDuration(duration))
+            duration += .3
 
 
+
+
+

        @draw()

    draw: ->
        layer = new lime.Layer()

        amount = 10
        base = 900

            if num is 5
                shape.setFill 100, 45, 35

                goog.events.listen shape, ['click'], (e) =>
                    game.startGame()
                    @flyOut(tiles)


            goog.events.listen shape, ['mouseover', 'click'], (e) ->

