1. https://i.gyazo.com/73791d1463a90a3d243d1cecac27674d.png

    I'm trying to get the image to overlay the UI but it's under it... any ideas why?

    Code:
                        GUIElementn.Add(new CuiElement
                        {
                            Name = "GUI_CraftMenu",
                           
                            Components =
                            {
                                new CuiRawImageComponent { Url = "http://rustamental.com/img/items/Assault%20Rifle.png", Color = "1 1 1 1" },
                                //new CuiRectTransformComponent {AnchorMin = $"{min_x} {min_y}", $"{max_y} {max_x}" }
                                new CuiRectTransformComponent {AnchorMin = $"{min_x} {min_y}", AnchorMax = $"{max_y} {max_x}"}
                            }
                        });
     
  2. Wulf

    Wulf Community Admin

    You need to set the parent to a layer above the others.

    Overall > Overlay > Hud.Menus > Hud > Hud.Under