Deactivate

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
{{lua-function|deactivate|object}}
 +
 
Deactivate an object.
 
Deactivate an object.
  

Revision as of 17:29, 8 February 2014

deactivate(object)

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