The Resource API provides values that define the possible loading states of a resource.

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts • Server Entity Scripts • Assignment Client Scripts


Name Type Summary
State Resource.State The possible loading states of a resource. Read-only.

Type Definitions

Type: object

The loading state of a resource.


Name Type Summary
QUEUED number The resource is queued up, waiting to be loaded.
LOADING number The resource is downloading.
LOADED number The resource has finished downloading but is not complete.
FINISHED number The resource has completely finished loading and is ready.
FAILED number The resource has failed to download.