camera

fun camera(entityId: Int)

Sets the player's camera to the specified entity.

Parameters

entityId

The entity ID to attach the camera to.