I've been trying to find some way to make the script tell me if my MOUSE POSITION is in a tpa with findtpaintpa.
I couldn't get this working (on the below picture ) no matter what, it keeps on telling me tpa matched...

Simba Code:
program TPA;
{$i SRL\SRL.scar}
{$i SRL\SRL\misc\Debug.scar}
Var
TP, MSCP, MSEP: Tpoint;
OldDB: String;
Procedure FindWaterBound;
Var
TP : Tpoint;
TPA, RandomTPA: TPointArray;
Begin
GetClientDImensions( MSEP.X, MSEP.Y);
If FindColorsSpiralTolerance( TP.X, TP.Y, TPA, 16711422, 0, 0, MSEP.X - 1, MSEP.Y - 1, 200) Then
Begin
DebugTPA( TPA, '');
Repeat
GetMousePos( TP.X, TP.Y);
If FindTPAInTPA( [TP], TPA, RandomTPA) Then
Disguise( 'TPA matched')
Else
Disguise( 'TPA did not match');
Until False
End;
End;
Begin
SetupSRL;
MouseSpeed := 999;
FindWaterBound;
End.