title: How can I add collision hitboxes to a rectangle(and my player) in p5.js?
body: <p>I'm trying to make an among us replica, and I want my player, (Mover) to not be able to go through my rectangles. I am fairly new to coding(JavaScript in general) and I would like some help creating hitboxes for my game. <a href="https://editor.p5js.org/LttntLark/sketches/JBSg2zIfEf" rel="nofollow noreferrer">https://editor.p5js.org/LttntLark/sketches/JBSg2zIfEf</a>                  all of the code is right there, and as always, all help is appreciated!</p>