Moving a box in horizontal

How to move a 2D horizontal box?

Check out the Learn tab at the top for some beginner scripting resources.