Other great resources: Official JS API docs, Scripting Forum
Â
setSunPosition(x, y, z);
Notes
The x-position of the Sun
Game default: 225.0
The y-position of the Sun
Game default: -600.0
The z-position (height) of the Sun
Game default: 450.0
Unknown at present
Waiting to learn more about the parameters before proving an example.
Requires:
Jump to:
Related functions: