Bug #661
Mouse Screen isn't working. It always returns -1
Start date:
02/09/2021
Due date:
% Done:
0%
Estimated time:
1:00 h
Affected version:
Description
Example:
Screen Open 1,1920,1080,32,Lowres Palette 0,$FFFFFF : Ink 1 : Pen 1 : Paper 0 : Curs Off : Flash Off : Cls 0 Box 0,0 To 1919,1079 Do Locate 1,1 : Print Using "-###";Mouse Screen Locate 1,2 : Print Using "-####";X Mouse; Print " , "; : Print Using "-####";Y Mouse Wait Vbl Loop
The above code should display the index of the current screen under the mouse, but instead, it always returns -1.
(I put the X Mouse, Y Mouse display there, to ensure the program was working.)