I am currently building a game with react native game engine and matter-js. I want to be able to access the constraint by its label. I currently created it:
let constraint = Constraint.create({
label: "Rope",
pointA: { x: 200, y: 0 },
bodyB: initialBall,
});
The documentation provides examples on how to give a constraint a label but not how to access it.