setPosition

abstract fun setPosition(position: Long?): PlayerUpdateBuilder

Update the position of the player.

Return

The updated builder, useful for chaining

Parameters

position

The new position of the player. Set it to null to exclude this field from being sent with an update.