What's the "Actor" Instance for?

IDK which category is correct for this, so I’ll post this here.

Today, I’m find strange Instance in “+” button under explorer, and this Instance is:
image
Can someone say me, for what it can be used, if it can?

1 Like

Actors are used for parellel lua, basically running code on a different thread. It messes with code priority and stuff.

1 Like

https://create.roblox.com/docs/scripting/scripts/parallel-scripting

1 Like

Actors are a instance type that lets you chop up your place into logical chunks. These chunks mark parts of the data model tree as independent. By promising that you will not access anything outside that actor in a desynchronized thread, threads from other actors can run at the same time.
(re-post from an announcement.)

Woah! When did Roblox get a parallel code execution update?! Where have I been?!

1 Like

Yeah but I wouldn’t immediately try to implement it into every single one of my projects. It’s still quite feature-lacking (many properties and member attributes are still unsafe to be used in parallel) and potentially unstable (despite it being fully released as V1). I would wait a bit and give it time to mature before using it on mainstream projects.

3 Likes