Duplicate
duplicate(entity, copy_children=True, *args, **kwargs)
Overview
Creates a deep copy of entity
, preserving transform and optionally its children. Additional transform kwargs can override the clone’s properties.
Example
from ursina import *
app = Ursina()
e = Button(parent=scene, scale=1, text='yolo')
e2 = duplicate(e, x=1.25)
EditorCamera()
app.run()