FANDOM


The onTouch property is a place to put script that you want to run only when the group is touched.


Example Edit

You have two boxes:
OnTouch


  • One of them is connected to a Piston, which gets a variable: getVar("variable")
  • The other box, has the script: if frame>=1; setVar("variable",1);end


Now, if the box that contains the script is touched, the variable will be set to 1.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.