---
title: SKRegion
framework: spritekit
role: symbol
role_heading: Class
path: spritekit/skregion
---

# SKRegion

The definition of an arbitrary area.

## Declaration

```swift
class SKRegion
```

## Overview

Overview An SKRegion object defines a mathematical shape and is typically used to determine whether a particular point lies inside this area. For example, regions are used to define the area that a physics field can affect. Regions are defined using paths and mathematical shapes and can also be combined using constructive solid geometry.

## Topics

### Creating and Initializing Region Objects

- [infinite()](spritekit/skregion/infinite().md)
- [init(size:)](spritekit/skregion/init(size:).md)
- [init(radius:)](spritekit/skregion/init(radius:).md)
- [init(path:)](spritekit/skregion/init(path:).md)
- [inverse()](spritekit/skregion/inverse().md)
- [byDifference(from:)](spritekit/skregion/bydifference(from:).md)
- [byIntersection(with:)](spritekit/skregion/byintersection(with:).md)
- [byUnion(with:)](spritekit/skregion/byunion(with:).md)

### Interacting with a Region

- [path](spritekit/skregion/path.md)
- [contains(_:)](spritekit/skregion/contains(_:).md)

### Initializers

- [init(coder:)](spritekit/skregion/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Mathematical Tools

- [SKKeyframeSequence](spritekit/skkeyframesequence.md)
- [SKRange](spritekit/skrange.md)
