Globals
Please note you can find the raw documentation here, I know it is hard to read, but you should be able to find any information you need in there.
This page is manually transcribed from the data and is not automatically generated.
To retrieve with physical parts, use the Network
library (it is accessed through the Network
global).
Here are a list of global functions:
- JSONDecode(string data) → JSON
- Decodes JSON. Proxy for
HttpService:JSONDecode
- Decodes JSON. Proxy for
- JSONEncode(JSON data) → string
- Encodes JSON. Proxy for
HttpService:JSONEncode
- Encodes JSON. Proxy for
- GetCPUTime() → number
- Returns the current elapsed CPU time.
- logError(string message, number? level)
- Logs an error in the output without yielding execution.
These functions will be removed in future:
- TriggerPort(Port | number port)
- Triggers the specified port.
- Beep(number? frequency)
- Produces a beep sound using a triangle wave.