Working M.Set with keyboard controls.