Workshop.codes
Create

Duplicate Object Last updated September 17, 2025

Description

Creates an exact copy of a previously spawned static object, including its current position, rotation, scale, color, and collision state. The duplicate is registered as a new independent object and can be manipulated separately. Useful for stamping repeated elements, mirroring geometry, or building symmetrical map layouts efficiently.

Snippet

Duplicate Object(Last Created Object, Vector(10, 0, 0));

Properties

Returns: Void
Parameters: Object, Position Offset

Object
Type: Object, Default: Last Created Object
The static object to duplicate.

Position Offset
Type: Vector, Default: Vector(0, 0, 0)
A positional offset applied to the duplicate relative to the original object's position. Use Vector(0, 0, 0) to place the copy at the same location.

Workshop.codes