====== About the script ====== * Purpose : This script will reset the selected values of all the items in the container. * Author : [[https://plus.google.com/u/1/105066926163073195690|TrianguloY]] * Link: https://plus.google.com/u/1/105066926163073195690/posts/iiR35UXJGoV * Now included in [[script_multitool|Lukas's multitool]] ====== How to use the script ====== Just a little script-tool when you are playing with items...and things go wrong. Just run it from the lightning or the item menu. ====== Script code ====== var cont = LL.getEvent().getContainer(); var items = cont.getItems(); var bools = []; bools[0] = confirm("Reset cell? (only grid items) [0,0]"); bools[1] = confirm("Reset position? (only free items) [0,0] "); bools[2] = confirm("Reset rotation? (only free items) [0]"); bools[3] = confirm("Reset scale? (only free items) [1,1]"); bools[4] = confirm("Reset skew? (only free items) [0,0]"); bools[5] = confirm("Reset size? (only free items) [cell size]"); bools[6] = confirm("Reset visibility? [true]"); for(var i=0;i