> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/sdk-window/samples/sample_controllableobject.md).

# Sample\_ControllableObject

In this example, we demonstrate how to control a Cube object within Unity using a custom script that allows interaction via a dedicated mobile app controller.&#x20;

The script establishes communication between the Unity scene and the app, enabling real-time manipulation of the Cube’s position, rotation, or other properties based on input from the app.

* **Is Controllable**: Determines whether the object to which this script is attached can be moved using a joystick.
* **Share Object Movement**: Determines whether the object is a networked entity shared among all users in the experience. Any user can move the object, and its position is updated in real-time for all connected players.
* **isControllable**: Determines whether the object to which this script is attached can be moved using a joystick.
* **isNetObject**: Determines whether the object is a networked entity shared among all users in the experience. Any user can move the object, and its position is updated in real-time for all connected players.

<figure><img src="/files/QcXnEnp5AC5QcISkgFt2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/s8HhAa40kJRuzpocuWxr" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xdubHTzJACGqFIM7yJy%2Fuploads%2FX8IushPyFPZ8a4xp9Ujr%2Fimmagine_2025-04-10_120034893.png?alt=media&#x26;token=3fc988b8-e21e-451b-a6dd-c55fbf63b48c" alt=""><figcaption></figcaption></figure>
