Instead of drawing a sensor and attaching it to an object, is it possible to "draw" the sensor in some way by code instead, perphaps by specifying an overlap range; from - to ?
With draw do you mean visually?
Develop games in your browser. Powerful, performant & highly capable.
LittleStain
Meaning hypothetically, just mark an area (invisible) using events, an offset that could encompass not only the sprites size misplaced a certain amount of pixels, rather a range even up to twice the size of the objects dimensions (in one axis), as to replace a manually pinned sensor.
I guess using a distance check followed by an is overlapping at offset check would do the trick..
Ofcourse you could always use a loop, but Using the distance check first would prevent unnescessary checks..