Deactivate

From MaratisWiki
Revision as of 20:25, 5 August 2012 by Anael (Talk | contribs)
Jump to: navigation, search

Deactivate an object.

   object = getObject("object") 
   function onSceneUpdate()
       if isKeyPressed("UP") then activate(object) end
       if isKeyPressed("DOWN") then deactivate(object) end
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox