Deactivate

From MaratisWiki
Revision as of 01:15, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

deactivate(object)

Deactivate an object.

  • object : object to operate on
   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