# Screen & Edge Overlay

Screen overlays appear over objects which are in front of the camera.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FqGYIMgNGL8ZeCg8Q3uzG%2FScreenshot%202023-10-15%20at%209.21.05%20PM.png?alt=media&#x26;token=e7386870-deca-428e-8ecb-3196752bd526" alt=""><figcaption></figcaption></figure>

Edge overlays appear at the edge of the screen, in the direction toward an object which is not in front of the camera.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2F51j0JogTplOsFF0Q1d9X%2FScreenshot%202023-10-15%20at%209.21.47%20PM.png?alt=media&#x26;token=969f8210-abe8-46b0-b32b-cf9d04ae81a7" alt=""><figcaption></figcaption></figure>

Objects can have display logic unique to themselves -- that is, how one object looks does not have to be the same as the others in the project!

To be tracked with a Screen Overlay, objects must have a [**Tracked Target Overlay**](https://infinitypbr.gitbook.io/magic-pig-games/northstar-nav-and-tracking/northstar-documentation/northstar-screen-overlay/broken-reference) component on them.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FOXHAIK06SVk9doW11TGs%2FScreenshot%202023-10-15%20at%209.25.04%20PM.png?alt=media&#x26;token=93403674-9724-43c6-8fcf-078a4114159e" alt=""><figcaption></figcaption></figure>

In the Overrides / System Toggle section, objects can choose to override the enablement of the Screen Overlay (and other systems). If the left toggle is off, the default values set on the [**Northstar Screen Overlay**](https://infinitypbr.gitbook.io/magic-pig-games/northstar-nav-and-tracking/northstar-documentation/northstar-screen-overlay/broken-reference) object will be used.

If the left toggle is on, you have the option to force the system to be enabled or disabled for this specific object. This setting will override the selection on the Northstar Screen Overlay object. This means that even if "Screen Overlay" is off on the Northstar Screen Overlay object, an individual object can still be seen with the Screen Overlay.

## Blending

While the Screen Overlay and Edge Overlay are two separate systems, when they are both active, icons will blend between them. Try it out in the demo scene. You can see the blend in action when the icons from a Screen Overlay get close to the edge.

During the transition, the size, color, opacity, and more can be transitioned, providing a super smooth, pleasing experience for your players.

## Types & Override Values

Each Tracked Target Overlay object has a Type, and can override specific values. Learn more about each of these concepts, and how to make use of them, below.

{% content-ref url="broken-reference" %}
[Broken link](https://infinitypbr.gitbook.io/magic-pig-games/northstar-nav-and-tracking/northstar-documentation/northstar-screen-overlay/broken-reference)
{% endcontent-ref %}

{% content-ref url="broken-reference" %}
[Broken link](https://infinitypbr.gitbook.io/magic-pig-games/northstar-nav-and-tracking/northstar-documentation/northstar-screen-overlay/broken-reference)
{% endcontent-ref %}
