<!--
{
  "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/SKFieldNode/springField()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKFieldNode(cm)springField"
  },
  "title" : "springField()"
}
-->

# springField()

Creates a field node that applies a spring-like force that pulls physics bodies toward the field node.

```
class func springField() -> SKFieldNode
```

## Return Value

A new spring field node.

## Discussion

The strength of the field measures the strength of the spring. A positive number indicates that the body is accelerating toward the field node. The [`falloff`](/documentation/SpriteKit/SKFieldNode/falloff) property of a spring field node is set by default to `-1`.

---

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)