> For the complete documentation index, see [llms.txt](https://fish-networking.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fish-networking.gitbook.io/docs/guides/features/networked-gameobjects-and-scripts/networkobjects.md).

# NetworkObjects

## NetworkObject

Any GameObject with a [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) component on it will be considered a "NetworkObject" in these guides going forward.\
\
Review the [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) component Page for details on the various settings for a **NetworkObject.**

When you are to add a [**NetworkBehaviour**](/docs/fishnet-building-blocks/components/network-behaviour-components.md) component to your prefabs or scene objects the NetworkBehaviour will search for a NetworkObject component on the same object, or within parent objects. If a NetworkObject is not found then one will be added automatically to the top-most object.

## Spawned NetworkObject

NetworkObjects that are Instantiated and Spawned using ther ServerManager.Spawn() method will be considered a "Spawned NetworkObject".\
\
"IsSpawned" Property will be marked True internally on the NetworkObject Component.

## Scene NetworkObject

Any **NetworkObject** that exists as part of the Scene aka - never instantiated/spawned into the scene, will be considered a "**Scene NetworkObject**" in these guides going forward.\
\
"IsSceneObject" property will be marked true on the attached [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) component internally.

## Global NetworkObject

Any **NetworkObject** with their bool "IsGlobal" marked "true" either in the inspector or with code will be considered a "**GlobalNetworkObject**" in the guides going forward.

**GlobalNetworkObjects** will automatically be put into the ("DontDestroyOnLoad") scene when instantiated on the server, and when spawned on the clients.

{% hint style="info" %}
Scene objects cannot be marked as global. All global objects must be instantiated and spawned.
{% endhint %}

## Nested NetworkObject

Any [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) that are a child of another [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) will considered a "**Nested NetworkObject**" in these guides going forward.\
\
"IsNested" property will be marked true on the attached [**NetworkObject**](/docs/fishnet-building-blocks/components/network-object.md) component internally.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://fish-networking.gitbook.io/docs/guides/features/networked-gameobjects-and-scripts/networkobjects.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
