> For the complete documentation index, see [llms.txt](https://docs.siminsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.siminsights.com/hyperskill-studio-authoring/state-machine-reference/triggers/proximity.md).

# Proximity

Proximity occurs when two entities are close to each other. The distance is checked every frame. A player can be used as an entity.

* **Entity Type A:** the type of the first entity.
* **Entity A:** the first entity used for proximity.
* **Entity Type B:** the type of the second entity.
* **Entity B:** the second entity used for proximity.

Entity A and Entity B cannot be the same object.
