---
title: slopeLimit
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/charactercontrollercomponent/slopelimit
---

# slopeLimit

The slope limit expressed as a limit angle in radians.

## Declaration

```swift
var slopeLimit: Float
```

## Discussion

Discussion This value represents the maximum slope that the character can move over. RealityKit applies this value to characters that are walking on static objects, but not when walking on kinematic or dynamic objects. Changing this value after the CharacterControllerComponent has been created and added to Entity has no effect.

## See Also

### Configuring a character

- [height](realitykit/charactercontrollercomponent/height.md)
- [radius](realitykit/charactercontrollercomponent/radius.md)
- [skinWidth](realitykit/charactercontrollercomponent/skinwidth.md)
- [stepLimit](realitykit/charactercontrollercomponent/steplimit.md)
- [upVector](realitykit/charactercontrollercomponent/upvector.md)
