SplitScript reference / Language / gameTime
gameTime
lifecycle block
gameTime { ... }
Reports the current game time when known.
Falling through returns None so the runtime leaves the current game time unchanged.
Examples
Use gameTime
gameTime {
return Duration.fromSeconds(current.gameTime)
}