Actor that owns the Lua state this code is running in, or nil when the code is running in the main game state rather than an actor.
Returns
Actor or nil
The owning actor, or
nil in the main state.Example
Related
isparallel: check the execution phase.