> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.ksrigidbody2dconstraints.md).

# Enum ksRigidBody2DConstraints

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Use these flags to constrain motion of rigidbodies.

```csharp
[Flags]
public enum ksRigidBody2DConstraints : byte
```

## Fields

`FREEZE_ALL = 70`

`FREEZE_POSITION = 6`

`FREEZE_POSITION_X = 2`

`FREEZE_POSITION_Y = 4`

`FREEZE_ROTATION = 64`

`NONE = 0`
