Set visibility does not work

Could you please give an example to understand better?

1 Like