Show what you really tried, not:
lcd.setCursor(**varibale goes here**, 0);
Do you get a compile error, or does it compile but not do what you expect?
Show what you really tried, not:
lcd.setCursor(**varibale goes here**, 0);
Do you get a compile error, or does it compile but not do what you expect?