keySpace=keyHit(57) keyLeft=keyDown(203) keyRight=keyDown(205) a=(a+keySpace)%4 x=keyLeft+keyRight if x then MoveEntity ent,x,0,0