getPitch

fun getPitch(): Double

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

Return

the entity's pitch

Sources

Link copied to clipboard