LAYERINSTANCE:set_size

LAYERINSTANCE:set_size(
    width,
    height
)

Set the value of grd_width and grd_height for this layer instance's layer to the provided values.


Parameters:
        width     An integer value to set to grd_x of this layer instance's layer
        height     An integer value to set to grd_height of this layer instance's layer