Skip to main content

createActor

Creates an actor (a player’s presence/instance in an app world) owned by the authenticated user and returns the persisted row (including the server-set createdAt). Requires a valid game token. If input.avatarId is set it must reference an avatar the caller owns (throws Unauthorized otherwise). input.uuid must be the 32-character ASCII actor id used on the UDP wire (NOT a hyphenated RFC-4122 UUID).

createActor(
input: CreateActorInput!
): Actor!

Arguments

createActor.input ● CreateActorInput! non-null input

Actor creation fields (see CreateActorInput).

Type

Actor object