I’m not sure what you actually want to change… GUI.DragWindow is a pure functional method. It doesn’t render anything. It has to be called inside a window callback in order to drag that window around. If you want to change the window color, you have to change the color before your GUI.Window / GUILayout.Window call.