function triggerEvent(target, eventName, ...args) {
  const listeners = events[target][eventName];
  listeners.outsideListener.apply(null, args);
  listeners.otherListeners.forEach((listener) => {
    listener.apply(objectSpace[target], args);
  });
}
Executes all the listeners for an event from a target

@param target
@param eventName