Two more Lua questions by the guy who once delivered some Visionaire scripting examples

:
1.
How do I correctly set the visibility of an object through Lua?
I understand we have the Property "ObjectVisibility" in the data structure, but it seems I am not smart enough to use it. At first I tried the following:
This throws an error:
Unknown data-field "isibility".
Then I remembered (from years ago) there were such things as "VValue", so I tried:
The error went away, but the visibility did not change, so this was obviously a stupid approach.
Right now I am going with the following:
obj.TimeToDestVisibility=1 -- that is almost immediately
obj.DestVisibility = 0
This is working properly, but I find it unnecessary as I don't need any fading. And I am eager to find out, how to use "ObjectVisibility" correctly.
2.
The second question is not exactly about visibility, but close enough to put it here as well and not start another thread. Is it possible to manipulate the order of objects, so that object A is (partly) covered by object B and moments later – after some Lua magic – appears in front of it?