Notifications
Clear all

[Closed] select camera light code

hi friends
i am making simple code

if cameras and lights in scene i would like to hide

if there is no cameras and lights , i would like to pass

code is below
if select lights do
( delete $
)
if select cameras do
( delete $
)

but this code is error
can you fix pls ?

2 Replies

Hide? Or delete them?

Hide:

(
	hide lights
	hide cameras
)

Delete:

(
	delete lights
	delete cameras
)

code is good

thank you really thank you