Salve a tutti, ho quest script:

codice:
if ScreenX < limitRes then 
	itm = 3
elseif ScreenX > limitRes then 
	itm = 4
end if
se immetto questi dati
limitRes= 1271
ScreenX= 1152

lo script mi restituisce itm = 4 ma 1152 > 1271 è falso !
dove sbaglio ? forse è la forma che non va ?

Grazie, ciao.