Script API - v1.21.120.21
    Preparing search index...

    Class PlayerUseNameTagAfterEventBeta

    Contains information related to when a player successfully names an Entity with a named Name Tag item.

    Index

    Constructors

    Properties

    entityNamed: Entity

    The entity that was named by the player.

    This property can't be edited in read-only mode.

    This property can't be read in early-execution mode.

    newName: string

    The new name that the player has given to the entity.

    This property can't be edited in read-only mode.

    This property can't be read in early-execution mode.

    player: Player

    Handle to the player that used the name tag.

    This property can't be edited in read-only mode.

    This property can't be read in early-execution mode.

    previousName?: string

    The previous name of the entity before the player used the name tag. This will be undefined if the entity was not previously named.

    This property can't be edited in read-only mode.

    This property can't be read in early-execution mode.