daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // @input SceneObject object
  2.  
  3. global.touchSystem.touchBlocking = true;
  4. script.object.enabled = false;
  5. var change =  function(){
  6.    
  7.     if( script.object.enabled )
  8.     {
  9.         script.object.enabled = false;
  10.     } else
  11.     {
  12.       script.object.enabled = true;
  13.     }
  14. }
  15. var touchEvent = script.createEvent("TapEvent");
  16. touchEvent.bind(change);
RAW Paste Data
Top