Skip to content

Limits

Time budgets and size limits every script runs under.

LimitValue
paint budget per tick2 ms
createmove budget per command1 ms
frame_stage budget per frame, all stages2 ms
budget of every other event1 ms
budget of the script's body when it loads50 ms
all scripts' paint, frame_stage and game events per frame3 ms
budget overruns in a row before the script is unloaded3
memory per script64 MB
script file size1024 KB
draw calls per tick8000
text bytes drawn per tick65536
points per polygon512
images per script32
menu controls per script128
windows per script8
sidebar title length32 bytes
storage per script256 KB
console lines kept per script200
handlers per event64