getChildByProp(prop, value) {
		let objList = [];

		/**
		 * @ignore
		 */
		function compare(obj, prop) {
			const v = obj[prop];
			if (value instanceof RegExp && typeof v === "string") {
				if (value.test(v)) {
					objList.push(obj);
				}
			} else if (v === value) {
				objList.push(obj);
			}
		}

		this.forEach((child) => {
			compare(child, prop);
			if (child instanceof Container) {
				objList = objList.concat(child.getChildByProp(prop, value));
			}
		});

		return objList;
	}
return the child corresponding to the given property and value.<br>
note : avoid calling this function every frame since
it parses the whole object tree each time
@param {string} prop - Property name
@param {string|RegExp|number|boolean} value - Value of the property
@returns {Renderable[]} Array of childs
@example
// get the first child object called "mainPlayer" in a specific container :
let ent = myContainer.getChildByProp("name", "mainPlayer");

// or query the whole world :
let ent = container.getChildByProp("name", "mainPlayer");

// partial property matches are also allowed by using a RegExp.
// the following matches "redCOIN", "bluecoin", "bagOfCoins", etc :
let allCoins = container.getChildByProp("name", /coin/i);

// searching for numbers or other data types :
let zIndex10 = container.getChildByProp("z", 10);
let inViewport = container.getChildByProp("inViewport", true);