makeArea(opt): GameObj<BaseComps & AreaComp>
opt
GameObj
BaseComps
AreaComp
Make an object with a collider component. Maker extends makeObject
ObjOpt
AreaOpt
GameObj<BaseComps & AreaComp>
const clickableArea = k.add(makeArea({ size: k.vec2(100, 100),}));
global.d.ts:4