Skip to main content

Aliases

  • getsynasset

Arguments

string
required
Path resolved inside the workspace after separator normalization and workspace-boundary checks. The target must exist and be a regular file; folders, invalid filenames, DOS device names, and blocked extensions are not accepted.

Returns

string
String in the form rbxasset://<hwid>/<workspace-relative-path> using forward slashes for the relative path.

Example

Copy an existing workspace file into the asset folder and print the returned rbxasset path.