Like it expands, then move, then reduce size
Viewing post in Scaleshifter jam comments
The way you scale things depends on your position relative to the center of the object you're trying to scale. If you're to the left of the center and you move to the right, once you cross the center, you'll start to expand the cube instead of compressing it. The cube can't be stopped by anything.
I hope this helps.