Py5Vector.y#

The vector’s y dimension value.

Examples#

 1v = py5.Py5Vector(1, 2)
 2
 3print(v.x, v.y)
 4# 1.0, 2.0
 5
 6v.x = 0
 7v.y += 10
 8
 9print(v.x, v.y)
10# 0.0, 12.0

Description#

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

Updated on January 16, 2022 16:51:21pm UTC