documentation indexreference manualfunction index

renpy.context_nesting_level

Function: renpy.context_nesting_level ():

Returns the nesting level of the current context. 0 is the outermost context (the one which is saved), and other contexts increase this number. Only useful in very specialized circumstances, such as writing with callbacks.


Example

TODO.