Long time since I wrote. If you intend to go on, interesting procs would be :
- Detect mouse click in a sprite (not through Point in Rect and a loop through all Sprites Rects)...
- A click would return : the Sprites under the click, their numbers, their priorities. This would allow a choice, a move, a priority change, etc.
- Separately a follow-me proc to move the sprite (1 or more) with the mouse clicked. Can be done through coordinates, but a bit intricate.
- Let create geometric (Rect, Poly...) entities with a name so that it could be refered to. Should imply PointInRect (rect, x,y), MoveRect (rect, dx,dy) and associated PaintRect, FrameRect... So with Poly.
Thanks to your job, I am still using it, to translate home-made Apps (which work only in Classic) into Apps which will work (I hope...) on a new machine. I hope Basic will not die !