Thanks.
It... Half-worked.
When you click the left mouse button and let go, it does stay there. But, when you click on another place on the screen, it MOVES the sprite there instead of adding another one.
I'm gonna try something else, now. I'm gonna make a crosshair that follows the location of the mouse, and makes a bullet hole if you click. And, instead of moving the sprite, I'm gonna try something different.
Here's my code:
sync on
sync rate 0
hide mouse
backdrop on
color backdrop RGB(255,255,255)
load image "Crosshair.bmp", 1
load image "BulletHole.bmp", 2
ID# = 1
do
if mousex() > 0 or mousey() > 0
sprite 1, mousex() - 110, mousey() - 115, 1
scale sprite 1, 100
endif
if mouseclick() = 1
sprite ID#, mousex() - 7, mousey() - 7, 2
scale sprite ID#, 20
ID# = ID# + 1
endif
sync
loop
And it worked!!