How To hide certain object in the scene

can I use this code to hide more than one object or groups