Godot Version
godot4
Question
how would i convert this to a json path to get the val
Global.items.convert_from_string_to_key("rifle")
Is there a function like this? I could do this as an alternative.
nvrm i did
@export item = "rifle"
Global.items[item]
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.