I’m used to being able to create multi-dimensional variables. Two questions:
- can a custom state store anything more complicated than a list?
- is there an advantage to storing multi-dimensional information in a set of custom variables vs in a database thing?
So a custom state can obviously store a single value, as in custom_state = X
It can also store a list, as in custom_state =
Can it store a set of related lists? as in custom_state =
1 / A / B / C
2 / X / Y / Z
A use case example is that I want to let the user build something out of a list of pieces I provide. I figured I could store the piece and its position relative to the canvas in a list in a custom state as the user works. something like custom_state =
ID 123456 / X 15 / Y 38
ID 789102 / X 3 / Y 90
ID 749374 / X 45 / Y 27
It doesn’t seem like custom states have any tools for parsing data like that back out anyway.