Causes Ren'Py to enter the named mode, or stay in that mode if it's already in it. Mode Callbacks link The config.mode_callbacks variable contains a list of mode callbacks that are invoked whenever Ren'Py enters a mode.