respawnX

fun respawnX(score: Int): Double(source)

Where the next obstacle appears, off the right edge: further out early on, closer as the score rises.