Py5Vector.y#

The vector’s y dimension value.

Examples#

v = py5.Py5Vector(1, 2)

print(v.x, v.y)
# 1.0, 2.0

v.x = 0
v.y += 10

print(v.x, v.y)
# 0.0, 12.0

Description#

The vector’s y dimension value. This is the vector’s 2nd dimension.

Updated on September 01, 2022 16:36:02pm UTC