is there a way i can scope of a variable to be in ...
# getting-started
s
is there a way i can scope of a variable to be in a general scope ?
Copy code
val d000 = object {
    val stroke = 0
    val strokeColor = ""

}

object global {

    val d000 = object {
        val stroke = 0
        val strokeColor = ""

    }

}

val d001 = object {

    val d000 = d000 //broken
    val d000 = global.d000 //works


}