Skip to main content

updateActor

Partially updates an actor (appId, avatarId, chunk, publicState, privateState); fields omitted from input are left unchanged. OWNER-EXCLUSIVE: only the actor’s owner may update (throws Unauthorized otherwise). Requires a valid game token. uuid is the 32-character ASCII actor id.

updateActor(
uuid: String!
input: UpdateActorInput!
): Actor!

Arguments

updateActor.uuid ● String! non-null scalar

Actor id: exactly 32 ASCII characters (the UDP-wire actor id), NOT a hyphenated RFC-4122 UUID.

updateActor.input ● UpdateActorInput! non-null input

Fields to change; omitted fields are untouched (see UpdateActorInput).

Type

Actor object