Move an element or div with arrow keys

This looks similar to the technique mentioned here...

The problem is that it doesn't work with Hype/Matter.js physics. If you don't care about that, then @Nick suggested another way... Crafty.JS…Potential Game engine for use in Hype ...I liked how crafty.js makes it easy to move elements and add key based controls.

Update: Oh... this part of the "Function Library" forum.