ReferenceScripting APIMotionSystem
MotionSystem
interfaceThe computer's load (scene.system). What the computer can't say is null.
| Name | MotionSystem |
|---|---|
| Kind | interface |
| Script reaches it as | MotionScene.system · MotionEvents.system |
| Since | 0.3 |
Syntax
interface MotionSystem { … }Properties
| Name | Type | Description |
|---|---|---|
cpuproperty | readonly number | null | The processor's load, 0 to 1. |
memoryproperty | readonly number | null | The memory in use, 0 to 1. |
swapproperty | readonly number | null | The swap in use, 0 to 1. |
diskproperty | readonly number | null | The disk in use, 0 to 1. |
temperatureproperty | readonly number | null | The processor's temperature, °C. |
netDownproperty | readonly number | null | Bytes a second coming in over the network. |
netUpproperty | readonly number | null | Bytes a second going out. |
batteryproperty | readonly number | null | The battery's charge, 0 to 1 (null without a battery). |
chargingproperty | readonly boolean | null | Whether it's charging (on mains power). |
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.