Reference copy()

copy()

Returns a copy of the p5.Vector object.

Examples

Syntax

copy()
copy(v)

Parameters

v
p5.Vector:

the p5.Vector to create a copy of

Returns

p5.Vector: copy of the p5.Vector object.
This page is generated from the comments in src/math/p5.Vector.js . Please feel free to edit it and submit a pull request!

Related References