Supermarket Simulator Shelf Mechanics

You can see the variable type on the left of the screenshot - IntPoint. You may use 2 ints instead, it does not matter.