Perhaps I misunderstood you again, but what you described sounds like an element of "Legacy choice". this It allows you to change history branches based on values from variables.
doc: https://kirilllive.github.io/tuesday-js/doc_editor.html#legacy_choice
example: https://github.com/Kirilllive/tuesday-js/blob/master/example/example_quiz_or_tes...
Each element in the scene has a setting called "Display conditions" - an additional setting of conditions for showing or hiding an object in the scene relative to the values in the variables.
doc: https://kirilllive.github.io/tuesday-js/doc_editor.html#unlocked_content
example: https://github.com/Kirilllive/tuesday-js/blob/master/example/example_unlocked_co...