Weird switch statement error

i have a huge switch statement


swith(true)
{
case(n<=10):
this[props].transform.colorTransform = colorT1;
break;
case(n>=11 && n<=20):
this[props].transform.colorTransform = colorT2;
break;
:
:

inside a foreach statement, anyway error points to “CASE”
1083:Syntax error:case is unexpected

very confused :ninja: