I can't seem to find anything in the game code that detects when the game has started. eg: after the click to start screen. I found that the game keeps track of gamestates but searching "InGameState" yields nothing in the Lua. I have a click responsive script that spits an error on the "Click to start" screen. It is a benign error and the script has no use in the loading states or menu state so it's not a huge issue but I'd rather clean up the error for my mods users. I was getting by with a test for if the player existed before, but now that I have added some more functionality, the error occurs because the player exists when other elements of the game world don't until the black loading screen is gone.