The Sun Gun is a tool that appears in the tutorial world and the cloud home.
Where to Get The Tool
The Sun Gun can be located in the Resonite Essentials folder under Tools and Custom.
Using The Tool
To use the Sun Gun simply point at the Sky and hold primary, while holding primary the Sun Gun will write to the world variable World/raw_sun_angle to move the sun in supported worlds.