bone.worldY

Type: number (read-only)
See also: bone

Overview:


The world Y position of the bone. This is the bone’s Y position relative to the skeleton’s origin.

Example:


local bone = hero.bones[2]
print("World Y position:", bone.worldY)