Adds gizmo editing

I dont get it
var i = nodepath ? nodepath.length - 1 : 0