@tiger Attached is a simple blockly example.
Screenshot 2022-09-09 at 15.03.56.png
I hope this explains how I would do this.
p.s. I don't speak French, so any translation errors are in there for your amusement. I also still am unsure about the exact setup, so some combinations of main menu selection and sub menu selection may not make sense. Those cases wouldn't need to be explicitly listed either.