code: function(e, out) {
          out = out || e;
  
          // Find the Crafty position in the default coordinate set,
          // disregard the fact that the pointer event was related to a specific layer.
          var pos = Crafty.domHelper.translate(
              e.clientX,
              e.clientY,
              undefined,
              this.__pointerPos
          );
  
          // Set the mouse position based on standard viewport coordinates
          out.realX = pos.x;
          out.realY = pos.y;
      }
docs: @
  #Crafty.translatePointerEventCoordinates
  @category Input
  @kind Method
  
  @sign public Object .translatePointerEventCoordinates(PointerEvent e[, PointerEvent out])
  @param e - Any pointer event with `clientX` and `clientY` properties, usually a `MouseEvent` or `Touch` object
  @param out - Optional pointer event to augment with coordinates instead
  @returns The pointer event, augmented with additional `realX` and `realY` properties
  
  Updates the passed event object to have two additional properties, `realX` and `realY`,
  which correspond to the point in actual world space the event happened.
  
  This method is used internally by the .mouseDispatch and .touchDispatch methods,
  but may be used for custom events.
  
  @see Crafty.domHelper#Crafty.domHelper.translate