How to manage ui state in GDevelop5 Problem Here player can select other objects through the modal. Solution I added variable to manage the state Here is the core concept.