getYaw

fun getYaw(): Double

Gets the yaw, the vertical direction the entity is facing towards. This has a range of -180 to 180.

Return

the entity's yaw

Sources

Link copied to clipboard