// Edit the following line to test the different modes // (use PASS_IF_NOT_HANDLED, PASS_ALWAYS or PASS_NEVER depending // on what you want to test): integer Behaviour_to_test = PASS_IF_NOT_HANDLED; default { state_entry() { llPassTouches(Behaviour_to_test); llSetTimerEvent(5); state WithTouch; } } state WithTouch { state_entry() { llSetText("This prim has an active touch_end event now.", <1,0,0>, 1); } touch_end(integer num_touchers) { llSay(0, "The child prim received the touch."); } timer() { state WithoutTouch; } } state WithoutTouch { state_entry() { llSetText("This prim has no active touch events now.", <0.4,0.4,0.4>, 1); } timer() { state WithTouch; } }