Originally posted by Der Kaiser I am working on the dragon head tutorial and I have noticed that a few times Kurt uses a shelf button for xray. I am new to maya and honestly I just hate programming. I was wondering if someone could maybe make a script to turn xray on and off for me please :-) Also, is there any way to just make a script that will turn xray on or off for the selected object, instead of the whole window? I tried to make one on my own, by turning xray on, then going to the script editor and middle mouse dragging to the shelf. However the problem was I had to make another button to turn it off. Also it only worked in the window I made it in. (i.e. if i made it in the pesp view, it would only work for persp view, not any other view) THANK YOU THANK YOU THANK YOU! If only you knew how badly I needed this! Please let me know if I can offer you my first born! She's 18 and I dont really want her any more!:attn: