# 13. Script (Forest)

<figure><img src="https://1494537888-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVDsGRBXgFisq0hO6tTXv%2Fuploads%2F8F9hgbGI0LSBjIVWYSym%2FGIF_19.gif?alt=media&#x26;token=88b19eda-a7ff-4cf3-b970-7b9403ddf18a" alt=""><figcaption></figcaption></figure>

This scene demonstrates calculating DRM value using a script.

Tree objects here have attached the custom script getting mask value from the **DRMController** and based on it scales up and down tree objects.
