<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKShapeNode/fillTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKShapeNode(py)fillTexture"
  },
  "title" : "fillTexture"
}
-->

# fillTexture

The texture used to fill the shape.

```
var fillTexture: SKTexture? { get set }
```

## Discussion

The default value is `nil`. If a fill texture is specified, the shape node is rendered using that texture blended with the [`fillColor`](/documentation/SpriteKit/SKShapeNode/fillColor).

> Important:
> The default fill color of a ``doc://com.apple.spritekit/documentation/SpriteKit/SKShapeNode`` is `SKColor.clear`. Since the fill texture is blended with the fill color, ``doc://com.apple.spritekit/documentation/SpriteKit/SKShapeNode/fillColor`` needs to be set to a non-clear color for it to display. For example, to display the texture without any color blend effects, set ``doc://com.apple.spritekit/documentation/SpriteKit/SKShapeNode/fillColor`` to `SKColor.white`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)