mapDirectToProperty = function(direct, properties) {

	if (direct === true) return properties.elem
	if (direct instanceof HTMLElement === true) return properties.direct

	return properties.global

}
Returns the property that should be used according to direct.
@param {Boolean|Node} direct
@param {Object} properties
@returns {*}