<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameplayKit",
  "identifier" : "/documentation/GameplayKit/GKNoise/raiseToPower(_:)-zm5g",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKNoise(im)raiseToPowerWithNoise:"
  },
  "title" : "raiseToPower(_:)"
}
-->

# raiseToPower(_:)

Replaces values in the noise field by exponentiating them with values from the specified noise object.

```
func raiseToPower(_ noise: GKNoise)
```

## Parameters

`noise`

The noise object from which to use values as exponents.

## Discussion

Noise values are generally in the range [-1.0, 1.0], so exponentiating some points in a noise field can result in values outside the floating-point domain. Depending on the stylistic result you’re looking for, choose your base and exponent noises carefully or use other noise operations (such as the [`clamp(lowerBound:upperBound:)`](/documentation/GameplayKit/GKNoise/clamp(lowerBound:upperBound:)) and [`remapValues(toCurveWithControlPoints:)`](/documentation/GameplayKit/GKNoise/remapValues(toCurveWithControlPoints:)) methods) to conform the exponent noise to a specific range before using this method.

![](images/com.apple.gameplaykit/media-2556399@2x.png)

---

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)