> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/developer/creating-locations/network-states/example-network-state-configurations/network-state-position-toggle.md).

# Network state position toggle

You can use a network state to synchronize an object's movement between two positions. For example, you could synchronize a helicopter as hovering or landed, or a projector screen as raised or lowered.

To synchronize an object's movement between two positions, you can use the `NetworkStateTrigger_GenericMovable` script. For this script, you configure the object that you want to move and two empty Game Objects that mark the positions to toggle between.

To initiate the transition between states, you can call the `ToggleState` method of the `NetworkStateTrigger_GenericMovable` script.

<figure><img src="https://2640392766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yxYHsXtlAaoMUrDWhLm%2Fuploads%2Fgit-blob-96aba808208d09903620cf660e2a2c74beb6dd8b%2Fnet_state_movable_overview.png?alt=media" alt="" width="563"><figcaption><p>Component overview</p></figcaption></figure>

The following figure shows the configuration of the `NetworkState-GenericMovableExample-Podium` prefab, which is available in the `/Assets/ENGAGE_CreatorSDK/Prefabs/Tools` folder.

![Example use of network states to synchronize the position of an object](https://2640392766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5yxYHsXtlAaoMUrDWhLm%2Fuploads%2FV6oKA6kerLekdCcx6yeJ%2Fnetwork_state_object_position.png?alt=media\&token=da20487b-8d2f-4e58-9dab-c19c593f99bd)
