Deactivate
From MaratisWiki
Revision as of 17:29, 8 February 2014 by Dahnielson (Talk | contribs)
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