Motion
Get Motion

ReferenceScripting APIMotionSystem

MotionSystem

interface

The computer's load (scene.system). What the computer can't say is null.

NameMotionSystem
Kindinterface
Script reaches it asMotionScene.system · MotionEvents.system
Since0.3

Syntax

interface MotionSystem { … }

Properties

NameTypeDescription
cpupropertyreadonly number | nullThe processor's load, 0 to 1.
memorypropertyreadonly number | nullThe memory in use, 0 to 1.
swappropertyreadonly number | nullThe swap in use, 0 to 1.
diskpropertyreadonly number | nullThe disk in use, 0 to 1.
temperaturepropertyreadonly number | nullThe processor's temperature, °C.
netDownpropertyreadonly number | nullBytes a second coming in over the network.
netUppropertyreadonly number | nullBytes a second going out.
batterypropertyreadonly number | nullThe battery's charge, 0 to 1 (null without a battery).
chargingpropertyreadonly boolean | nullWhether it's charging (on mains power).