You can turn off opportunity attacks by clicking on it in the lower right of the screen (in the ''Reaction"" part of the UI next to the hotbar ) so that it's not highlighted anymore.