         @game.cantbuild.play()
 
     if @game.input.activePointer.rightButton.isDown
-      @marker.rotation += Math.PI / 2
+      @rotate()
+
+  rotate: ()->
+    console.log()
+    @marker.rotation += Math.PI / 2
 
   onBuild: (args)->
     blockList = args[0]

    @marker.destroy()
    for c in @cantbuilds
      c.destroy()


  updateMarker: ()->
    if @marker?

    @counter = 15
    @game.text.setText('' + @counter)
    @cleanGarbage()

    @game.input.keyboard.addCallbacks(this, null, null, @rotate)

  cleanGarbage: ()->
    for x in [0..39]
