# Sandbox.ResourceId

An identifier of a resource, which can be backed by either a GUID, a path, or both.

- Kind: struct
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`Guid`](/api/Sandbox.ResourceId/Guid): GUID of the resource, prefer this over path if available.
- [`IsEmpty`](/api/Sandbox.ResourceId/IsEmpty)
- [`Path`](/api/Sandbox.ResourceId/Path): Path to the resource, used for feedback and as an alternative when the GUID is not provided.

## Methods

- [`FromPath`](/api/Sandbox.ResourceId/FromPath): Capture a path's current GUID, when it is registered with the resource system.
- [`Get`](/api/Sandbox.ResourceId/Get)
- [`ResolvePath`](/api/Sandbox.ResourceId/ResolvePath): Resolve the current path by GUID, falling back to the stored path when unavailable.
