Deactivate
From MaratisWiki
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