I've been taking a look at this replit, and it seems like it's the alpha version of kaboomJS. In the area() section of the page it says that this is a way to return a true value when an object is being hovered on. Though it seems like it's not option anymore. Does it exist and I'm not just seeing it, or do I need to make my own?
if (obj.isHovered()) {
//...
});