function isMouseInPosition(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then -- 19 linijka
return true,cx,cy
else
return false
end
end
Przyk?ad wywo?ania:
isMouseInPosition(screenW * 0.4656, screenH * 0.4435, screenW * 0.0693, screenH * 0.1130)