preoccupied

adjective
  1. absorbed in thought; distracted by something on one’s mind
  2. busy with or engaged in something

Examples