With the second one block, an object will do a certain action as soon as you look at it in VR (without having to use any button). THe following code, for example, will make the rabbit change to a new random color every time you look at it in VR.
Is this what you were looking for?
If you have more scripting specific questions, the CoSpaces scripting forum might be more helpful for you. My colleague who takes care of scripting questions will be back tomorrow morning.