# Drop shadow filter

Source: https://ref.dm-lang.org/notes/filters/drop_shadow
Added in BYOND 512.

**Format**

> filter(type="drop_shadow", ...)

**Args**

> x: Shadow horizontal offset (defaults to 1)

Applies a drop shadow to this image. This is a combination of multiple filters, since it will apply an outline if `offset` is included, a Gaussian blur to the shadow, and will underlay the shadow beneath the image.

You can also think of this filter as an outer glow.

If you use a `size` less than 0, the shadow will appear inside the image instead. This would be an inset shadow, or inner glow.

### See also
- [Gaussian blur (filters)](https://ref.dm-lang.org/notes/filters/blur.md)
- [Outline (filters)](https://ref.dm-lang.org/notes/filters/outline.md)
