I want to put all the Transforms of a device in an array into an array of Transforms.

        @editable
        show_device : []trigger_device = array{}
    
        var defaultTransform : []transform = array{}
    
        OnBegin<override>()<suspends>:void=
            GetTransforms()
            Print("OnBegin")
    
        GetTransforms()<suspends>:void=
            Print("GetTransform")
            for (Number := 0..show_device.Length):
                if (set defaultTransform[Number] = show_device[Number].GetTransform()){}

I want to retain the initial position show_device, but it does not seem to be retained. What should I do?

I don’t see anything wrong, are you sure they are not stored properly ? How do you test that ?