dropmefiles.com.ua/en/NSQfc5W
This is a simple example.
We move the wound if it goes beyond the object.
Use the width and height of the object.
Everything will be fine if the object is close to a square.
If the object will have a more complex shape, then we will have to change the method of inflicting wounds.
There is a second option we can use on the wound blending mode.