ReferenceScripting APIMotionFetched
MotionFetched
interfaceWhat scene.fetch gives back.
| Name | MotionFetched |
|---|---|
| Kind | interface |
| Script reaches it as | MotionScene.fetch() |
| Since | 0.3 |
Syntax
interface MotionFetched { … }Properties
| Name | Type | Description |
|---|---|---|
okproperty | readonly boolean | Whether it answered 200 to 299. |
statusproperty | readonly number | Its status: 200, 404... |
textproperty | readonly string | What it said, as text. |
Methods
| Signature | Description |
|---|---|
json<T>(): Tmethod | What it said, read as JSON. |
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.