expression, ichidan verb
have one's attention caught; be distracted; be preoccupied; be captivated; be absorbed
Describes having one's attention diverted or absorbed by something, often unintentionally. The cause is marked with に.
運転中にスマホに気を取られて事故を起こした。
I got distracted by my smartphone while driving and caused an accident.
She was so captivated by the beautiful scenery that she lost track of time.