There's the thing though. Offside is a black-and-white rule. You can't be 'a bit offisde' - you're either offside or you're not. There are no margins.
The current VAR process for measuring is suitable, if sometimes poorly applied. If the attacker is 1 pixel ahead of the defender, they're...