Actors
Find Actors and run code inside their parallel Luau states.
17 functions
| Function | Summary |
|---|---|
create_comm_channelcreatecommchannel | Creates a communication channel shared between supported game and Actor contexts. |
get_comm_channelgetcommchannel | Looks up an existing communication channel by ID. |
getactorfromthread | Names the Actor that owns the running code. |
getactorsget_actors | Returns the Actors currently observed in this game. |
getactorstatesget_actor_states | Returns proxies for currently observed Actor states. |
getactorthreads | Returns handles for observed Actor-state threads. |
getcurrentactorget_current_actor | Returns the Actor associated with the current execution context. |
getdeletedactors | Returns diagnostic tokens for observed expired Actor contexts. |
getgamestateget_game_state | Returns the proxy for the main game’s Luau state. |
getluastateget_lua_state | Resolves a state proxy from an Actor or script. |
isparallelcheckparallelcheck_parallelis_parallel | Reports whether the current execution context is parallel. |
on_actor_added | An event delivered when a newly observed Actor becomes available. |
on_actor_state_created | An event delivered when a newly observed Actor state becomes available. |
run_on_actorrunonactor | Submits Luau source to an eligible Actor’s state. |
runonthreadrun_on_thread | Submits source to an eligible observed Actor thread. |
state:Execute | Schedules source through a state proxy. |
state:GetActors | Lists observed Actors associated with this state proxy. |
No function in Actors matches that filter.
