# Sandbox.ResourceId.FromPath

```csharp
static ResourceId FromPath(string path)
```

Capture a path's current GUID, when it is registered with the resource system.

### Parameters

- `path` (`string`)

### Returns

`ResourceId`

Declared in [Sandbox.ResourceId](/api/Sandbox.ResourceId).
Assembly: `Sandbox.Engine`.
