<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKSpriteNode/init(texture:color:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKSpriteNode(im)initWithTexture:color:size:"
  },
  "title" : "init(texture:color:size:)"
}
-->

# init(texture:color:size:)

Initializes a textured sprite in color using an existing texture object.

```
init(texture: SKTexture?, color: UIColor, size: CGSize)
```

## Parameters

`texture`

A texture to apply to the sprite.

`color`

The color for the new sprite.

`size`

The size for the new sprite.

## Return Value

A newly initialized sprite object.

## Discussion

To colorize your texture, you also need to set the [`colorBlendFactor`](/documentation/SpriteKit/SKSpriteNode/colorBlendFactor) property of the sprite.

---

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)