You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a discrepancy between the returned coordinates from the mouse method and the actual mouse cursor position in Ruby. When the cursor is visually placed at (0,0) on the screen, the mouse method returns coordinates of (8,4). The returned value seems to be consistently offset by a certain amount from the screen coordinates.
# script: ruby
def TIC
cls 13
rect mouse[:x],mouse[:y],8,8,3
print "#{mouse[:x]},#{mouse[:y]}"
end
The text was updated successfully, but these errors were encountered:
There is a discrepancy between the returned coordinates from the mouse method and the actual mouse cursor position in Ruby. When the cursor is visually placed at (0,0) on the screen, the mouse method returns coordinates of (8,4). The returned value seems to be consistently offset by a certain amount from the screen coordinates.
The text was updated successfully, but these errors were encountered: