Nil value with more extended variables

Hello I have a local variable:

TurfPointsSettings = {
 { color2 = { r = 0, g = 1, b = 2 }, owner = "someone" },
}
TurfPointsSettings[1].color2.r, TurfPointsColor2[1].color2.g, TurfPointsColor2[1].color2.b

And the question is why the console says TurfPointsSettings[1].color2.r or any other is a nil value?

TurfPointsSettings[1].color2.r, TurfPointsColor2[1].color2.g, TurfPointsColor2[1].color2.b

Cause it s not TurfPointsColor2, it is TurfPointsSettings :slight_smile:

1 Like

Stupid me :man_facepalming: Thanks man.