Off the top of my head psuedo code...
--
TAZ
rem check for mouse left click
if mouseclick() = 1
rem get mouse data
x = mousex()
y = mousey()
rem check to see if mouse is in special screen area
if x >= leftScreenArea and x <= rightScreenArea
if y >= topScreenArea and y <= bottomScreenArea
rem show the sprite if it is hidden or paste the sprite to
rem specific location
show sprite spriteID
endif
endif
endif
BTW, these values are variables and you should set them in your initialization section of your program.
These are pixel locations on your screen:
leftScreenArea,
rightScreenArea,
topScreenArea, and
bottomScreenArea.
The variable
spriteID is associated with the screen area and is created (and probably hidden or moved offscreen) before the game starts.
"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1