Returns a 1 if the given object is visible, 0 if it is occluded or not in the screen.
ObjectIDThe id of the object.
isVisible = Get Object Visible (ObjectID)