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

# influenceFactor

The influence of the constraint on the node’s transformation.

```
var influenceFactor: CGFloat { get set }
```

## Discussion

Use this property to relax the effect of a constraint on the nodes it applies to. For example, consider a node containing a spotlight, constrained by an [`SCNLookAtConstraint`](/documentation/SceneKit/SCNLookAtConstraint) object to point toward another node containing a moving game character. If the constraint’s influence factor is `1.0`, SceneKit adjusts the spotlight node to point directly at the game character each time it renders a frame. If you reduce the influence factor to `0.5`, each time SceneKit renders a frame it moves the spotlight halfway from its current orientation to the target orientation. As a result, the spotlight continues to follow the moving character, but with a slight lag.

The default influence factor is `1.0`, specifying that SceneKit apply the full effect of the constraint every frame. An influence factor of `0.0` means the constraint has no effect.

This property has no effect on [`SCNTransformConstraint`](/documentation/SceneKit/SCNTransformConstraint) objects.

---

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)