forEach(callback, thisArg) {
		let i = 0;
		const shapes = this.shapes;

		const len = shapes.length;

		if (typeof callback !== "function") {
			throw new Error(callback + " is not a function");
		}

		while (i < len) {
			callback.call(thisArg ?? this, shapes[i], i, shapes);
			i++;
		}
	}
The forEach() method executes a provided function once per body shape element. <br>
the callback function is invoked with three arguments: <br>
   - The current element being processed in the array <br>
   - The index of element in the array. <br>
   - The array forEach() was called upon. <br>
@param {Function} callback - fnction to execute on each element
@param {object} [thisArg] - value to use as this(i.e reference Object) when executing callback.
@example
// iterate through all shapes of the physic body
mySprite.body.forEach((shape) => {
   shape.doSomething();
});
mySprite.body.forEach((shape, index) => { ... });
mySprite.body.forEach((shape, index, array) => { ... });
mySprite.body.forEach((shape, index, array) => { ... }, thisArg);