<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKAction/setNormalTexture(_:resize:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKAction(cm)setNormalTexture:resize:"
  },
  "title" : "setNormalTexture(_:resize:)"
}
-->

# setNormalTexture(_:resize:)

Creates an action that changes a sprite’s normal texture, possibly resizing the sprite.

```
class func setNormalTexture(_ texture: SKTexture, resize: Bool) -> SKAction
```

## Parameters

`texture`

The new texture to use on the sprite.

`resize`

If <doc://com.apple.documentation/documentation/Swift/true>, the sprite is resized to match the new texture. Otherwise, the size of the sprite is unchanged.

## Return Value

A new action object.

## Discussion

This action can only be executed by an [`SKSpriteNode`](/documentation/SpriteKit/SKSpriteNode) object. When the action executes, the sprite’s [`normalTexture`](/documentation/SpriteKit/SKSpriteNode/normalTexture) property changes immediately to the new texture and the sprite is resized to match.

---

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)