         return
 
       return
+
     orientationChange: (callback) ->
       # Callback returns if orientation of screen is changed
       _orientationChange callback
       return
+
     mobile: (callback) ->
       touchendCoords = {}
       # Callback returns when screen is touched and when screen touch ends

        callback touchendCoords, false
        return
      return
    mouse_action: (callback) ->
      # Callback returns on mouse down
      @canvas.addEventListener 'mousedown', ((event) ->

    callback coords
    return

  _orientationChange = (callback) ->
    window.addEventListener 'orientationchange', (->
      callback()
      return
    ), false
    return
