switched to onmousedown and onmouseup to send commands to the blocky