stop(pauseTrack = false) {
		// only stop when we are not loading stuff
		if (_state !== this.LOADING && this.isRunning()) {
			// stop the main loop
			_stopRunLoop();

			// current music stop
			if (pauseTrack === true) {
				pauseTrack();
			}

			// store time when stopped
			_pauseTime = globalThis.performance.now();

			// publish the stop notification
			eventEmitter.emit(STATE_STOP);
		}
	}
Stop the current stage.
@name stop
@memberof state
@public
@param {boolean} [pauseTrack=false] - pause current track on screen stop.