Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Suleymanov |
I store multiple data in a variable called “data”:
data = {
"Lap Time" : newBest,
"Player" : userName,
"Circuit" : int(get_tree().current_scene.name.right(6))
}
My question is, how do I check each data?
Say, I want to check “Lap Time”, can you please show me an example how it can be called/accessed?
Thank you for your time!
Never mind, got it.
data["Circuit"]
Suleymanov | 2021-07-18 09:10