Skip to content

Variables

Variables are declared without local. Variable names can be any non-reserved string of letters, digits, and underscores that don't start with a digit. Variables can only contain numbers.

1
2
3
4
val = 1

x = math.sin(math.pi * val)
z = math.cos(math.pi * val)

Reserved Keywords

  • break
  • character
  • continue
  • false
  • for
  • inf
  • orbitScale
  • phi
  • pi
  • t
  • true