Notifications
Clear all

[Closed] If object selected

I have a lame question. I was trying to look for it but I didn’t found nothing what can be me help.
So.
How write something like this.

For example:

If object named $Noname is selected then something do… if $Noname2 is selected then … etc.

2 Replies
if $ObjName.isSelected then .... else .....

Much appreciated