Deactivate
From MaratisWiki
Deactivate an object.
object = getObject("object")
function onSceneUpdate()
if isKeyPressed("UP") then activate(object) end
if isKeyPressed("DOWN") then deactivate(object) end
end
NOTE : For now deactivate only hide an object but the object still interacts with environment, this is a bug that will be corrected in the next maratis version.