when adding event sheets, it is possible to add event sheets from deleted layouts
i also have two layouts with completely different loops that work without errors and it works just fine when i copy all the events from both layouts to a new, empty layout but when i use add event sheets of the two layouts, i get an error about nested loops:
A nested loop was started with the same name as an already running loop. Rename your loop to a unique name.
the keyboard and mouse object should also be global