Touch to remove object within larger shape?

I made a game recently wherein you have to tap things to remove them, however, one of the biggest complaints I get is that they’re too small. I want to get it so that they can tap it slightly outside of the object and still manage to touch it. I’ve added a shape to it in the physics.addBody that extends slightly passed the object boundaries, but it doesn’t register the tap on the boundaries (I know they’re there seeing them collide). How can I get this to work? I’m at a loss.

Hi @zimofrite,

If these are images, the easiest way would be to just pad them with transparent pixels in your image editor and resave them. This way, the objects become “bigger” without appearing as such to the user, and you can still define the physics bodies to a smaller shape to match what the user sees, thus maintaining the physics behavior while allowing the objects to have a larger bounds of touch sensitivity.

Best regards,

Brent

Hi @zimofrite,

If these are images, the easiest way would be to just pad them with transparent pixels in your image editor and resave them. This way, the objects become “bigger” without appearing as such to the user, and you can still define the physics bodies to a smaller shape to match what the user sees, thus maintaining the physics behavior while allowing the objects to have a larger bounds of touch sensitivity.

Best regards,

Brent