How to make Trees "Uncuttable" in Map Editor

Hi Guys, just wondering how to to make trees uncuttable? Saw many nice map designs in Youtube that villagers don’t cut the trees down (even the gold and stone mines as well), but no one ever mentioned how to do it.

This questions has bothered me for weeks, much appreciated if someone can help. Hope I am not too stupid to ask…

THANKS!

In triggers, make a new trigger. Give it the effect to make a unit untargetable. Then set the thing to Gaia tree or whatever. Sorry, it’s been a while since I used the editor, but I have figured out this technique before, and that’s kind of what I remember.