# File mouse.rb, line 37
    def restrictX(restrict=true)
      @rx = restrict
      if @rx
        @ox = $window.mouse_x
      end
    end