matter js rectangle x code example Example: how to make a rectangle in matter.js Matter.Bodies.rectangle(x, y, width, height, [options]);