Actors a game has, so it can run code on one.
Actors a game has, so it can run code on one.
getactors()[1] is the first actor. Hand one of them to run_on_actor to run code on that thread.
Returns
{Actor} - an array of every Actor instance currently in the game. The array is empty when the game has no actors.
Example
Grab the first actor in the game and run a script on it.getactors()[1] is the first actor. Hand one of them to run_on_actor to run code on that thread.
Returns
{Actor} - an array of every Actor instance currently in the game. The array is empty when the game has no actors.