Is there a way to enable/disable object highlighting (the one that appears when Alt is held down) through code? There's definitely no script for it, but maybe there's a console command?
the command ui_adventure_hilight_radius 0 disables the highlighting; to re-enable it, replace 0 with a value greater than 0.
It's best to use the value that was originally set.