# `GSShape.compositingOperation`

*Instance Property*

How the rendered shape is combined with the content behind it.

## Declaration

```swift
var compositingOperation: GSCompositingOperation { get set }
```

```objc
@property (nonatomic, strong) GSCompositingOperation compositingOperation;
```

```python
compositingOperation() -> GSCompositingOperation
setCompositingOperation_(compositingOperation: GSCompositingOperation)
```

## Discussion

The default is [`GSCompositingOperation.GSCompositingOperationSourceOver`](/Core/GlyphsCore/GSCompositingOperation/GSCompositingOperationSourceOver).

> **See Also**
> [`GSShapeKey.GSShapeKeyCompositingOperation`](/Core/GlyphsCore/GSShapeKey/GSShapeKeyCompositingOperation)

## See Also

### Compositing

- [`GSShape.hidden`](/Core/GlyphsCore/GSShape/hidden) — Whether the shape is excluded from drawing and generated outlines.
- [`GSShape.opacity`](/Core/GlyphsCore/GSShape/opacity) — The alpha applied to the complete rendered shape.
- [`GSShape.outerShadow`](/Core/GlyphsCore/GSShape/outerShadow) — The shadow cast by the shape.
- [`GSShape.innerShadow`](/Core/GlyphsCore/GSShape/innerShadow) — The shadow drawn inside the shape.

