| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Mouse Clicks with a running sprite surface? |
| From: | Taylor Family <taylorfam at hypernet dot com> |
| Date: | Tue, 29 May 2001 11:19:55 -0400 |
> can you get mouse clicks with a running sprite surface?
Yeah. just uncheck the "click to close" checkbox in the spritesurfaces
propertys window. also have another way to quit the spritesurface so you
don't get stuck.
>and then get the mouse X/Y
if system.mousedown then
If mouseX > 100 and mouseX < 200 then
if mouseY > 100 and mouseY < 200 then
// the button is pushed
end if
end if
end if
Hope this helps.
-Ben
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: cross-platform with 3.2, Dave Nomura |
|---|---|
| Next by Date: | Re: More On BASIC interpreter, Chris Dillman |
| Previous by Thread: | Mouse Clicks with a running sprite surface?, Chris Dillman |
| Next by Thread: | Re: Mouse Clicks with a running sprite surface?, Joseph J. Strout |
| Indexes: | [Date] [Thread] [Top] [All Lists] |