> For the complete documentation index, see [llms.txt](https://docs.moddingofisaac.com/ab_p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moddingofisaac.com/ab_p/beta/docs/enums/entitygridcollisionclass.md).

# Enum "EntityGridCollisionClass"

| DLC                                                                             | Value | Enumerator                        | Comment                                                                        |
| ------------------------------------------------------------------------------- | ----- | --------------------------------- | ------------------------------------------------------------------------------ |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 0     | GRIDCOLL\_NONE {: .copyable }     |                                                                                |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 1     | GRIDCOLL\_WALLS\_X {: .copyable } | <p>only collide with vertical walls <br></p>                                   |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 2     | GRIDCOLL\_WALLS\_Y {: .copyable } | <p>only collide with horizontal walls <br></p>                                 |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 3     | GRIDCOLL\_WALLS {: .copyable }    | <p>only collide with walls <br></p>                                            |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 4     | GRIDCOLL\_BULLET {: .copyable }   | <p>detect collision with solids (no pits), don't correct position <br></p>     |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 5     | GRIDCOLL\_GROUND {: .copyable }   | <p>collide with all grid entities (rocks, pits, ..), correct position <br></p> |
| [ ](/ab_p/beta/docs/enums/entitygridcollisionclass.md){: .abp .tooltip .badge } | 6     | GRIDCOLL\_NOPITS {: .copyable }   | <p>collide with all grid entities except pits and correct position <br></p>    |
