GetSunPositionY - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script (Requires 1.6)

Gets the Y position of the sun.

Syntax[edit | edit source]

float Function GetSunPositionY() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The Y position of the sun, or 0.0 if the sun is not up.

Examples[edit | edit source]

Debug.Trace("The Sun has a y position of: " + GetSunPositionY())

See Also[edit | edit source]