Better solution for moving my rectangle? (simple game)

Printable View