I need your help.
I have a 32x32 sprite square attached to my mouse (with: ((floor ((MouseX) / 32) * 32) +16), ((floor ((MouseY) / 32) * 32) +16))) and I want when I click and as long as the button is pressed and I move the mouse, my sprite "spawn" other sprites, to form a rectangle whose diagonal is the distance between the first sprite and mouse.
When I release the button the rectangular area composed of sprites is created.
Basically, I want a selection box in multiples of 32 and I do not know how to do that.
I hope to be understandable.
Can you help?
Thank you in advance and I apologize for my English.