Yuari
Documentation
Docs/Actors/isparallel

isparallel

Returns whether the current context is running on a parallel actor thread.

Syntax

isparallel(instance?: Instance) -> boolean

Parameters

ParameterTypeDescription
instance?InstanceThe Instance to read from or modify.

Returns

TypeDescription
booleanWhether the current context is running on a parallel actor thread

Description

isparallel is part of the Actors library. Actor helpers target Roblox's parallel actor scheduler. Code sent to an actor runs in that actor's isolated Luau context rather than the current script thread.

The call is a predicate: it inspects the current state and returns a boolean without modifying anything.

The aliases checkparallel(instance?), is_parallel(instance?) resolve to the same implementation.

Example

print(isparallel(workspace))
print(checkparallel(workspace))

Notes

  • Aliases: checkparallel(instance?), is_parallel(instance?).
  • Actor calls run in a separate parallel state; data passed into the actor must be representable in Luau.