> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getcustomasset

> Mevcut bir regular workspace file degerini ExtraContent/<hwid>/ konumuna kopyalar ve kopyalanan asset path icin rbxasset:// string dondurur.

<div className="real-function-page">
  ```lua theme={null}
  getcustomasset(path: string): string
  ```

  ## Aliaslar

  * `getsynasset`

  ## Argümanlar

  <ParamField path={"path"} type={"string"} required>
    Separator normalization ve workspace-boundary checks sonrasinda workspace icinde cozumlenen path. Hedef mevcut olmali ve regular file olmalidir; folders, invalid filenames, DOS device names ve blocked extensions kabul edilmez.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"assetId"} type={"string"}>
    rbxasset://\<hwid>/\<workspace-relative-path> biciminde String. relative path icin forward slashes kullanilir.
  </ResponseField>

  ## Örnek

  Mevcut bir workspace file degerini asset folder icine kopyalayin ve dondurulen rbxasset path degerini yazdirin.

  ```lua theme={null}
  local path = "assets/example.txt"
  writefile(path, "asset bytes")

  local assetId = getcustomasset(path)
  print(assetId)
  print(getsynasset(path))
  ```
</div>
