Name

array()

Examples
v = PVector(10.0, 20.0, 30.0)
f = v.array()
print(f[0])# Prints "10.0"
print(f[1])# Prints "20.0"
print(f[2])# Prints "30.0"
Description Return a representation of this vector as a float array. This is only for temporary use. If used in any other fashion, the contents should be copied by using the PVector.get() method to copy into your own array.
Syntax
.array()

Updated on Thu Oct 22 12:07:47 2026.

If you see any errors or have comments, please let us know.