3D Lingo Dictionary > C-D > duplicate |
![]() ![]() ![]() |
duplicate
Syntax
vectorReference
.duplicate()transformReference
.duplicate()
Description
3D vector and transform method; returns a copy of the vector or transform.
Example
This statement creates a copy of the position of model 1 and stores it in the variable zz
.
zz = member("MyRoom").model[1].transform.position.duplicate()
See also
![]() ![]() ![]() |