SetLayerTint(id, tintcolor, tintlevel)
Starting with Hollywood 2.0, tintlevel can also be a string containing a percent specification, e.g. "50%".
Starting with Hollywood 5.0, this function will simply install a filter
of type Tint
in the specified layer. See SetLayerFilter for details.
You need to enable layers before you can use this function. See Layers introduction for details.
EnableLayers() DisplayBrush(1, #CENTER, #CENTER) SetLayerTint(1, #BLACK, 128)The code above darkens layer 1 (= brush 1) with ratio 50% (= 128).