Uncle wrote _udg erroneously, so to avoid confusion it is in fact udg_.
For context the game’s generated variables for things like regions, camera angles, specific units directly referred to in trigger lines use the gg_ prefix and many internal variables for more complex jass functions use bj_ as their prefix.
If you ever aren’t sure how to refer to a variable or object you can make a new trigger with a single action that references the thing and then convert that trigger to JASS (Edit > Convert to Custom Text). Then look at the line and see how the thing is referred to.