Move+On+Touch

code // On touching the object in which this script is placed, the object will move either up or down

integer    g_Up;

default {   touch_start(integer total_number) {       g_Up = !g_Up; vector pos = llGetPos; if(g_Up) {           pos.z++;                    //the "z" in pos.z tells the object on which axis to move the z-axis in this case }       else {           pos.z--; }       llSetPos(pos); } }

code