Deactivate an object.
object = getObject("object") function onSceneUpdate() if isKeyPressed("UP") then activate(object) end if isKeyPressed("DOWN") then deactivate(object) end end