Garry's Mod Wiki

coroutine.running

  thread coroutine.running()

Description

Returns the active coroutine or nil if we are not within a coroutine.

Returns

1 thread
coroutine