Wait. So did you write Math.ABS() instead of using Math.Abs() and it’s not working?
Have you tried using print statements to see what is going on?
I put in:
int test = -200;
int abstest = Math.Abs(test);
Print("test: " + test);
Print("abstest: " + abstest);
and that works fine.
Output:
test: -200
abstest: 200