Hello! I was wondering is there a function when the game loads?
You can use ContentProvider to detect when a table of assets are loaded.