Interacting with terrain trees.

Hello,
Explain to me please how can i interact with trees painted with terrain editor brush.
For example: how can i get tree’s pos, scale, how can i attach some scripts to them and how can i destroy them. Need just some suggestions.
Thanks in advance.

You can use TerrainData.treeInstances. Interaction is limited, but there are things you can do.

Terrain trees are optimised for rendering and the like. If you want to do real detailed stuff with an individual tree you will be better off putting in an individual tree as a GameObject.